Skip to content

Commit ef2a4ce

Browse files
author
Łukasz Paczos
committed
update CI image and cache
1 parent 682e710 commit ef2a4ce

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

circle.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff 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
@@ -38,13 +36,6 @@ jobs:
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
@@ -57,11 +48,8 @@ jobs:
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:

0 commit comments

Comments
 (0)