mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
ci: Add spotlessCheck for Android building
Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
parent
06b2ae737b
commit
498965c1d4
|
@ -112,6 +112,7 @@ win:container_prep:
|
||||||
- .build-rules
|
- .build-rules
|
||||||
image: $MONADO_IMAGE
|
image: $MONADO_IMAGE
|
||||||
|
|
||||||
|
|
||||||
# Variables for build and usage of Debian bullseye image
|
# Variables for build and usage of Debian bullseye image
|
||||||
.monado.variables.debian:bullseye:
|
.monado.variables.debian:bullseye:
|
||||||
variables:
|
variables:
|
||||||
|
@ -350,6 +351,26 @@ ndk:arm64-v8a:
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=26 -DBUILD_DOC=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
|
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=26 -DBUILD_DOC=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
|
||||||
|
|
||||||
|
android:spotlessCheck:
|
||||||
|
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:
|
||||||
|
|
||||||
|
- .gitlab-ci/prebuild.sh
|
||||||
|
- .gitlab-ci/ci-gradle-build.sh spotlessCheck
|
||||||
|
|
||||||
android:outOfProcessDebug:
|
android:outOfProcessDebug:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
|
|
|
@ -150,6 +150,9 @@ distributions:
|
||||||
BUILD_DOC: "OFF"
|
BUILD_DOC: "OFF"
|
||||||
ANDROID_ABI: arm64-v8a
|
ANDROID_ABI: arm64-v8a
|
||||||
|
|
||||||
|
- name: android:spotlessCheck
|
||||||
|
target: spotlessCheck
|
||||||
|
|
||||||
- name: android:outOfProcessDebug
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue