Skip to content

Commit 2e8aff4

Browse files
committed
ci(android): run emulator as x86_64 on API 33 for Flutter\n\n- Set reactivecircus/android-emulator-runner arch: x86_64, api-level: 33, target: google_apis\n- Add headless emulator options\n\nFixes #226
1 parent 8725f01 commit 2e8aff4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,13 @@ jobs:
192192
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
193193
sudo udevadm control --reload-rules
194194
sudo udevadm trigger --name-match=kvm
195-
- name: Run flutter test integration_test/webcrypto_test.dart -d android
195+
- name: Run flutter test integration_test/webcrypto_test.dart -d android (x86_64, API 33)
196196
uses: reactivecircus/android-emulator-runner@v2
197197
with:
198-
api-level: 28
198+
api-level: 33
199+
arch: x86_64
200+
target: google_apis
201+
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot
199202
working-directory: ./example
200203
script: flutter test integration_test/webcrypto_test.dart -d android
201204
linux-coverage:

0 commit comments

Comments
 (0)