@@ -34,6 +34,9 @@ stages:
34
34
.snippets :
35
35
# macOS AMI will already have cmdline-tools installed
36
36
install-android-api-components :
37
+ - export ANDROID_EMULATOR_IMAGE=system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}
38
+ - export ANDROID_PLATFORM=platforms;android-$ANDROID_API
39
+ - export ANDROID_BUILD_TOOLS=build-tools;$ANDROID_API.0.0
37
40
- echo y | ~/android_sdk/cmdline-tools/latest/bin/sdkmanager --install "emulator"
38
41
- echo y | ~/android_sdk/cmdline-tools/latest/bin/sdkmanager --install "platform-tools"
39
42
- echo y | ~/android_sdk/cmdline-tools/latest/bin/sdkmanager --install "$ANDROID_PLATFORM"
@@ -225,17 +228,8 @@ test-pyramid:core-it:
225
228
parallel :
226
229
matrix :
227
230
- ANDROID_API : " 21"
228
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
229
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
230
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
231
231
- ANDROID_API : " 28"
232
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
233
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
234
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
235
232
- ANDROID_API : " 36"
236
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
237
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
238
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
239
233
script :
240
234
- !reference [ .snippets, install-android-api-components ]
241
235
- !reference [ .snippets, run-core-it-instrumented ]
@@ -333,17 +327,8 @@ test-pyramid:legacy-integration-instrumented:
333
327
parallel :
334
328
matrix :
335
329
- ANDROID_API : " 21"
336
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
337
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
338
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
339
330
- ANDROID_API : " 28"
340
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
341
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
342
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
343
331
- ANDROID_API : " 36"
344
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
345
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
346
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
347
332
script :
348
333
- !reference [ .snippets, install-android-api-components ]
349
334
- !reference [ .snippets, run-legacy-integration-instrumented ]
0 commit comments