mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-31 19:08:30 +00:00
ci: Add Release builds of Android builds
This commit is contained in:
parent
1211a51d91
commit
8fa568e44f
|
@ -375,7 +375,7 @@ ndk:arm64-v8a:
|
||||||
- echo "Build Options:"; grep "^XRT_" build/CMakeCache.txt
|
- echo "Build Options:"; grep "^XRT_" build/CMakeCache.txt
|
||||||
- ninja -C build
|
- ninja -C build
|
||||||
|
|
||||||
android:outOfProcess:
|
android:outOfProcessDebug:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bullseye-ndk
|
||||||
|
@ -398,7 +398,7 @@ android:outOfProcess:
|
||||||
paths:
|
paths:
|
||||||
- src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
|
- src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
|
||||||
|
|
||||||
android:inProcess:
|
android:inProcessDebug:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bullseye-ndk
|
||||||
|
@ -421,6 +421,52 @@ android:inProcess:
|
||||||
paths:
|
paths:
|
||||||
- src/xrt/targets/openxr_android/build/outputs/apk/inProcess
|
- src/xrt/targets/openxr_android/build/outputs/apk/inProcess
|
||||||
|
|
||||||
|
android:outOfProcessRelease:
|
||||||
|
stage: build
|
||||||
|
extends:
|
||||||
|
- .monado.image.debian:bullseye-ndk
|
||||||
|
before_script:
|
||||||
|
# For caching gradle stuff
|
||||||
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GRADLE_ARGS: "-Porg.gradle.daemon=false "
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- .gradlehome/wrapper
|
||||||
|
- .gradlehome/caches
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cp .gitlab-ci/local.properties .
|
||||||
|
- ./gradlew clean
|
||||||
|
- ./gradlew assembleOutOfProcessRelease
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
|
||||||
|
|
||||||
|
android:inProcessRelease:
|
||||||
|
stage: build
|
||||||
|
extends:
|
||||||
|
- .monado.image.debian:bullseye-ndk
|
||||||
|
before_script:
|
||||||
|
# For caching gradle stuff
|
||||||
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GRADLE_ARGS: "-Porg.gradle.daemon=false "
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- .gradlehome/wrapper
|
||||||
|
- .gradlehome/caches
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cp .gitlab-ci/local.properties .
|
||||||
|
- ./gradlew clean
|
||||||
|
- ./gradlew assembleInProcessRelease
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- src/xrt/targets/openxr_android/build/outputs/apk/inProcess
|
||||||
|
|
||||||
ubuntu:cmake:
|
ubuntu:cmake:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
|
|
|
@ -142,14 +142,22 @@ distributions:
|
||||||
BUILD_DOC: "OFF"
|
BUILD_DOC: "OFF"
|
||||||
ANDROID_ABI: arm64-v8a
|
ANDROID_ABI: arm64-v8a
|
||||||
|
|
||||||
- name: android:outOfProcess
|
- name: android:outOfProcessDebug
|
||||||
target: assembleOutOfProcessDebug
|
target: assembleOutOfProcessDebug
|
||||||
artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
|
artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
|
||||||
|
|
||||||
- name: android:inProcess
|
- name: android:inProcessDebug
|
||||||
target: assembleInProcessDebug
|
target: assembleInProcessDebug
|
||||||
artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/inProcess
|
artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/inProcess
|
||||||
|
|
||||||
|
- name: android:outOfProcessRelease
|
||||||
|
target: assembleOutOfProcessRelease
|
||||||
|
artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
|
||||||
|
|
||||||
|
- name: android:inProcessRelease
|
||||||
|
target: assembleInProcessRelease
|
||||||
|
artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/inProcess
|
||||||
|
|
||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
images:
|
images:
|
||||||
# LTS
|
# LTS
|
||||||
|
|
Loading…
Reference in a new issue