The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: Add spotlessCheck for Android building

Signed-off-by: utzcoz <utzcoz@outlook.com>

authored by

utzcoz and committed by
Ryan Pavlik
498965c1 06b2ae73

+25 -1
+22 -1
.gitlab-ci.yml
··· 112 112 - .build-rules 113 113 image: $MONADO_IMAGE 114 114 115 + 115 116 # Variables for build and usage of Debian bullseye image 116 117 .monado.variables.debian:bullseye: 117 118 variables: ··· 349 350 350 351 - .gitlab-ci/prebuild.sh 351 352 - .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 353 + 354 + android:spotlessCheck: 355 + stage: build 356 + extends: 357 + - .monado.image.debian:bullseye-ndk 358 + before_script: 359 + # For caching gradle stuff 360 + - export GRADLE_USER_HOME=`pwd`/.gradlehome 361 + 362 + variables: 363 + GRADLE_ARGS: "-Porg.gradle.daemon=false " 364 + cache: 365 + paths: 366 + - .gradlehome/wrapper 367 + - .gradlehome/caches 368 + 369 + script: 370 + 371 + - .gitlab-ci/prebuild.sh 372 + - .gitlab-ci/ci-gradle-build.sh spotlessCheck 352 373 353 374 android:outOfProcessDebug: 354 375 stage: build ··· 620 641 - mv repo public/apt 621 642 artifacts: 622 643 paths: 623 - - public 644 + - public
+3
.gitlab-ci/config.yml
··· 150 150 BUILD_DOC: "OFF" 151 151 ANDROID_ABI: arm64-v8a 152 152 153 + - name: android:spotlessCheck 154 + target: spotlessCheck 155 + 153 156 - name: android:outOfProcessDebug 154 157 target: assembleOutOfProcessDebug 155 158 artifact_path: src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess