Skip to content

Commit 7e5a9fc

Browse files
committed
Try to run the Android emulator
1 parent 13cd92a commit 7e5a9fc

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
os: 'macos-15'
2222
ANDROID_API: 28
2323
ANDROID_ARCH: 'arm64-v8a'
24+
- name: 'macOS 26'
25+
os: 'macos-26'
26+
ANDROID_API: 28
27+
ANDROID_ARCH: 'arm64-v8a'
2428
fail-fast: false
2529
runs-on: ${{ matrix.os }}
2630
env:
@@ -38,19 +42,6 @@ jobs:
3842
echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
3943
echo "Starting emulator"
4044
41-
cd ${ANDROID_HOME}/emulator/qemu/darwin-aarch64/
42-
entitlements='<?xml version="1.0" encoding="UTF-8"?>
43-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
44-
<plist version="1.0">
45-
<dict>
46-
<key>com.apple.security.hypervisor</key>
47-
<true/>
48-
</dict>
49-
</plist>'
50-
echo "$entitlements" > entitlements.xml
51-
codesign -s - --entitlements entitlements.xml --force qemu-system-aarch64-headless
52-
cd -
53-
5445
# Start emulator in background
5546
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics &
5647
# Fixed quoting around "\r"

0 commit comments

Comments
 (0)