File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version : 2
1+ version : 2.1
2+
3+ orbs :
4+ android : circleci/android@2.3.0
5+
26jobs :
37 build :
4- working_directory : ~/code
5- docker :
6- - image : cimg/android:2024.08.1-ndk
8+ executor :
9+ name : android/android-docker
10+ tag : 2024.08.1-ndk
11+ resource-class : large
712 environment :
813 GRADLE_OPTS : -Dorg.gradle.workers.max=1 -Dorg.gradle.daemon=false -Dkotlin.compiler.execution.strategy="in-process"
914 RUST_VERSION : 1.80.0
@@ -16,16 +21,11 @@ jobs:
1621 command : |
1722 echo 'export PATH="$HOME"/.cargo/bin:"$PATH"' >> "$BASH_ENV"
1823 - run : rustup target add armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
19- - restore_cache :
20- key : jars-{{ checksum "build.gradle.kts" }}
24+ - android/restore-gradle-cache
2125 - run :
2226 name : Run Build and Tests
2327 command : ./gradlew assembleDebug check -PCARGO_PROFILE=debug
24- - save_cache :
25- paths :
26- - ~/.gradle
27- - ~/.android/build-cache
28- key : jars-{{ checksum "build.gradle.kts" }}
28+ - android/save-gradle-cache
2929 - store_artifacts :
3030 path : mobile/build/outputs/apk
3131 destination : apk/mobile
4444 - store_artifacts :
4545 path : tv/build/reports
4646 destination : reports/tv
47+
48+ workflows :
49+ test :
50+ jobs :
51+ - build
You can’t perform that action at this time.
0 commit comments