gitlab-ci: build before starting emulator to speed things up
The emulator will grab a bunch of RAM, so run assemble before connectedCheck so that the app is mostly built before starting the emulator.
This commit is contained in:
parent
2c7489508f
commit
e69c04458f
@ -34,6 +34,7 @@ connected10:
|
|||||||
variables:
|
variables:
|
||||||
AVD_SDK: "10"
|
AVD_SDK: "10"
|
||||||
script:
|
script:
|
||||||
|
- ./gradlew assembleDebug -PdisablePreDex
|
||||||
- emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window &
|
- emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window &
|
||||||
- ./tools/wait-for-emulator
|
- ./tools/wait-for-emulator
|
||||||
- adb shell input keyevent 82 &
|
- adb shell input keyevent 82 &
|
||||||
@ -55,6 +56,7 @@ connected24:
|
|||||||
variables:
|
variables:
|
||||||
AVD_SDK: "24"
|
AVD_SDK: "24"
|
||||||
script:
|
script:
|
||||||
|
- ./gradlew assembleDebug -PdisablePreDex
|
||||||
- emulator64-arm -avd fcl-test-$AVD_SDK -no-audio -no-window &
|
- emulator64-arm -avd fcl-test-$AVD_SDK -no-audio -no-window &
|
||||||
- ./tools/wait-for-emulator
|
- ./tools/wait-for-emulator
|
||||||
- adb shell input keyevent 82 &
|
- adb shell input keyevent 82 &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user