blob: fc5f259043ff44f1f6dd548c787002b27785f1bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
type: Group
instructions:
- type: Group
instructions:
- type: ExecuteCommand
command: ["{{.Env.ANDROID_SDK_HOME}}/tools/emulator", "@x86emulator","-no-audio","-no-window","-gpu","swiftshader_indirect","-partition-size","4000"]
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run emulator, check logs."
startInBackground: True
- type: ExecuteCommand
command: ["{{.Env.ANDROID_SDK_HOME}}/platform-tools/adb","devices"]
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run adb, check logs."
- type: ExecuteCommand
command: ["{{.Env.ANDROID_SDK_HOME}}/platform-tools/adb","wait-for-device"]
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 1800
userMessageOnFailure: "Failed to run adb, check logs."
enable_if:
condition: property
property: features
contains_value: AndroidTestRun
|