File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2.1
2
+
3
+ orbs :
4
+ android :
circleci/[email protected]
5
+
6
+ jobs :
7
+ build :
8
+ executor : android/android
9
+ steps :
10
+ - checkout
11
+ - restore_cache :
12
+ key : android-orb-v1-
13
+ - run :
14
+ name : Chmod permissions
15
+ command : sudo chmod +x ./gradlew
16
+ - run :
17
+ name : Download Dependencies
18
+ command : ./gradlew androidDependencies
19
+ - save_cache :
20
+ key : ' android-orb-v1-{{ epoch }}'
21
+ paths :
22
+ - ~/.android/build-cache
23
+ - ~/.android/cache
24
+ - run :
25
+ name : Run Build
26
+ command : ./gradlew build
27
+ - store_artifacts :
28
+ path : app/build/reports
29
+ destination : reports
30
+ - run :
31
+ name : Run Tests
32
+ command : ./gradlew lint test
33
+ - store_test_results :
34
+ path : app/build/test-results
35
+ - store_artifacts :
36
+ path : app/build/outputs/apk/debug/
37
+ destination : artifact-file
You can’t perform that action at this time.
0 commit comments