File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,22 +13,20 @@ jobs:
1313 build :
1414 working_directory : ~/code
1515 docker :
16- - image : mbgl/android-ndk-r19:8e91a7ebab
16+ - image : mbgl/android-ndk-r20:7b7c4b42cf
1717 environment :
1818 JVM_OPTS : -Xmx3200m
19- BUILDTYPE : Debug
20- IS_LOCAL_DEVELOPMENT : false
2119 steps :
2220 - checkout
2321 - restore_cache :
24- key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
22+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}-{{ checksum "library/build.gradle" }}-{{ checksum "gradle/dependencies.gradle" }}
2523 - run :
2624 name : Download Dependencies
2725 command : ./gradlew androidDependencies
2826 - save_cache :
2927 paths :
3028 - ~/.gradle
31- key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
29+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}-{{ checksum "library/build.gradle" }}-{{ checksum "gradle/dependencies.gradle" }}
3230 - run :
3331 name : Check code style
3432 command : make checkstyle
3836 - run :
3937 name : Run unit-test in Android libraries
4038 command : make test
41- - run :
42- name : Log in to Google Cloud Platform
43- shell : /bin/bash -euo pipefail
44- command : |
45- echo "${GCLOUD_SERVICE_ACCOUNT_JSON}" > secret.json
46- gcloud auth activate-service-account --key-file secret.json --project mapbox-events-android
47- rm secret.json
4839 - store_artifacts :
4940 path : app/build/reports
5041 destination : reports
5748 only :
5849 - master
5950 docker :
60- - image : mbgl/android-ndk-r19:8e91a7ebab
51+ - image : mbgl/android-ndk-r20:7b7c4b42cf
6152 working_directory : ~/code
62- environment :
63- BUILDTYPE : Release
64- IS_LOCAL_DEVELOPMENT : false
6553 steps :
6654 - checkout
6755 - run :
You can’t perform that action at this time.
0 commit comments