diff options
author | Nicolas Peugnet <nicolas.peugnet@lip6.fr> | 2024-01-16 20:14:10 +0300 |
---|---|---|
committer | Nicolas Peugnet <nicolas.peugnet@lip6.fr> | 2024-01-16 20:26:35 +0300 |
commit | fb6d35438f6dec1c96e753656fb897e3a25828f0 (patch) | |
tree | 4eccefb2ecf3294277da74b9e1c03d438c23fde6 | |
parent | a88dddf1c0b56c0edd0694d917027f43754f843e (diff) |
-rw-r--r-- | .gitlab-ci.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d5a6845 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,37 @@ +image: docker.io/quite/android-sdk-ndk:7 + +variables: + # get those pesky submodules + GIT_SUBMODULE_STRATEGY: recursive + +before_script: + - export GRADLE_USER_HOME=$(pwd)/.gradle + - chmod +x ./gradlew + +cache: + key: ${CI_PROJECT_ID} + paths: + - .gradle/ + +stages: + - build + +# lintDebug: +# stage: build +# script: +# - ./gradlew -Pci --console=plain -PbuildDir=lint :app:lintDebug + +testDebug: + stage: build + script: + # ANDROID_SDK_ROOT is already set in the android-sdk-ndk container image. + - pushd libs/humla-spongycastle + - ../../gradlew jar + - popd + - ./gradlew -Pci --console=plain testDebug + +# coverageTests: +# stage: test +# script: +# - ./gradlew -Pci --console=plain jacocoTestReport coveralls + |