Skip to content

Commit e5e3ce5

Browse files
committed
Try to run the Android emulator
1 parent e3b13ed commit e5e3ce5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
ANDROID_ARCH: ${{ matrix.ANDROID_ARCH }}
2929
steps:
3030
- name: "Launch emulator"
31+
timeout-minutes: 5
3132
run: |
3233
3334
# Install AVD files
@@ -37,7 +38,7 @@ jobs:
3738
echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
3839
echo "Starting emulator"
3940
# Start emulator in background
40-
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -accel none -no-metrics &
41+
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-hvf -accel none -no-metrics &
4142
# Fixed quoting around "\r"
4243
$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'
4344
$ANDROID_HOME/platform-tools/adb devices

0 commit comments

Comments
 (0)