@@ -24,7 +24,14 @@ default config for macOS: &macos_defaults
24
24
<< : *defaults
25
25
resource_class : ' medium'
26
26
macos :
27
- xcode : ' 11.0.0'
27
+ xcode : ' 11.7.0'
28
+
29
+
30
+ config for macOS (android) : &macos_defaults_android
31
+ << : *defaults
32
+ resource_class : ' medium'
33
+ macos :
34
+ xcode : ' 11.5.0'
28
35
29
36
default config for android apk builds : &android_defaults
30
37
<< : *defaults
@@ -42,11 +49,11 @@ default config for android apk builds: &android_defaults
42
49
# ==============================
43
50
44
51
cache keys :
45
- brew ios : &key_brew_ios cache-brew-ios-v1 -{{ arch }}
46
- brew android : &key_brew_android cache-brew-android-v1 -{{ arch }}
52
+ brew ios : &key_brew_ios cache-brew-ios-v3 -{{ arch }}
53
+ brew android : &key_brew_android cache-brew-android-v3 -{{ arch }}
47
54
yarn : &key_yarn cache-yarn-{{ checksum "package.json" }}-{{ arch }}
48
55
gradle : &key_gradle cache-gradle-{{ checksum "example/android/gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "example/android/app/build.gradle" }}-{{ arch }}
49
- pods : &key_pods cache-pods-{{ checksum "example/ios/Podfile.lock" }}
56
+ pods : &key_pods cache-pods-v1- {{ checksum "example/ios/Podfile" }}-{{ checksum "package.json" }}-{{ arch }}
50
57
51
58
cache :
52
59
# brew
72
79
restore brew cache for android : &cache_restore_brew_android
73
80
name : Restoring Brew cache for android
74
81
keys :
75
- - *key_brew_android
82
+ - *key_brew_android
76
83
77
84
# yarn
78
85
save yarn cache : &cache_save_yarn
@@ -205,7 +212,7 @@ jobs:
205
212
- example/android/app/build/outputs/apk/*
206
213
207
214
" Test: Android e2e " :
208
- << : *macos_defaults
215
+ << : *macos_defaults_android
209
216
steps :
210
217
- *addWorkspace
211
218
- run :
@@ -221,6 +228,7 @@ jobs:
221
228
- run :
222
229
name : Install Android SDK tools
223
230
command : |
231
+ brew update --preinstall
224
232
brew bundle --file=.circleci/Brewfile.android --no-lock
225
233
- save-cache : *cache_save_brew_android
226
234
- run :
0 commit comments