Skip to content

Commit 87cc313

Browse files
committed
Try to run the Android emulator
1 parent cd7f27c commit 87cc313

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,18 @@ jobs:
3838
echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
3939
echo "Starting emulator"
4040
# Start emulator in background
41-
nohup $ANDROID_HOME/emulator/emulator-headless -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics &
41+
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics &
4242
# Fixed quoting around "\r"
4343
$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'
4444
$ANDROID_HOME/platform-tools/adb devices
4545
echo "Emulator started"
4646
47+
- name: "Check Emulator"
48+
run: |
49+
$ANDROID_HOME/platform-tools/adb shell 'echo Hello Android!'
50+
4751
- name: "Install SDK"
52+
if: false
4853
run: |
4954
HOST_TOOLCHAIN_URL="https://download.swift.org/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2025-08-08-a/swift-DEVELOPMENT-SNAPSHOT-2025-08-08-a-osx.pkg"
5055
curl -fsSL --retry 8 --retry-connrefused ${HOST_TOOLCHAIN_URL} --output swift.pkg

0 commit comments

Comments
 (0)