This commit is contained in:
ITQ
2025-11-22 07:50:05 +03:00
parent a2c0b47a3c
commit ad6a442fba
+20 -9
View File
@@ -1,9 +1,22 @@
stages:
- build
- test
image: eclipse-temurin:21-jdk
variables:
ANDROID_COMPILE_SDK: "36"
ANDROID_BUILD_TOOLS: "36.0.0"
ANDROID_SDK_TOOLS: "11076708"
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle"
cache:
key: "${CI_JOB_NAME}"
paths:
- .gradle/caches/
- .gradle/wrapper/
- android-home/
policy: pull-push
before_script:
- apt-get update -qq && apt-get install -y wget tar unzip lib32stdc++6 lib32z1
@@ -19,15 +32,6 @@ before_script:
- chmod +x ./gradlew
- echo "sdk.dir=${ANDROID_SDK_ROOT}" > local.properties
stages:
- build
- test
lintDebug:
stage: build
script:
- ./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint
assembleDebug:
stage: build
script:
@@ -40,3 +44,10 @@ debugTests:
stage: test
script:
- ./gradlew -Pci --console=plain :app:testDebug
artifacts:
when: always
expire_in: 7 days
paths:
- app/build/reports/tests/testDebug/
- app/build/test-results/testDebug/
- app/build/outputs/unit_test_code_coverage/debugUnitTest/