devops: use default Android emulator gpu (#21170)
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
f3a46f7405
commit
f3ec29e6ad
|
|
@ -11,9 +11,7 @@ fi
|
|||
bash $PWD/utils/avd_stop.sh
|
||||
|
||||
echo "Starting emulator"
|
||||
# On normal macOS GitHub Action runners, the host GPU is not available. So 'swiftshader_indirect' would have to be used.
|
||||
# Since we (Playwright) run our tests on a selfhosted mac, the host GPU is available, so we use it.
|
||||
nohup ${ANDROID_HOME}/emulator/emulator -avd android33 -no-audio -no-window -gpu host -no-boot-anim -no-snapshot &
|
||||
nohup ${ANDROID_HOME}/emulator/emulator -avd android33 -no-audio -no-window -no-boot-anim -no-snapshot &
|
||||
${ANDROID_HOME}/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
|
||||
${ANDROID_HOME}/platform-tools/adb devices
|
||||
echo "Emulator started"
|
||||
|
|
|
|||
Loading…
Reference in a new issue