File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change 1414
1515jobs :
1616 android-build :
17- runs-on : macos-12
17+ runs-on : macos-13 # emulator never starts on macOS 14 https://github.com/ReactiveCircus/android-emulator-runner/issues/392#issuecomment-2106167725
1818 concurrency :
1919 group : ${{ github.ref }}-android
2020 cancel-in-progress : true
@@ -50,17 +50,27 @@ jobs:
5050 run : bun run build:android
5151 working-directory : example
5252
53- - name : Run Android Emulator and app
53+ - name : Create AVD and generate snapshot for caching
5454 uses : reactivecircus/android-emulator-runner@v2
5555 with :
56- api-level : 31
56+ # Use the slimmer aosp_atd images for working
57+ # around "System UI isn't responding" ANR
58+ # (Application Not Responding) error
59+ #
60+ # https://android-developers.googleblog.com/2021/10/whats-new-in-scalable-automated-testing.html#:~:text=Slimmer%20Emulator%20System%20Images
61+ # https://github.com/ReactiveCircus/android-emulator-runner/issues/129
62+ # https://github.com/upleveled/hotline-bling-codealong/pull/26#issuecomment-1094659722
5763 target : aosp_atd
58- profile : pixel_2
59- ram-size : ' 4096M'
60- disk-size : ' 10G'
64+ api-level : 30
65+ arch : x86
66+ ram-size : 4096M
67+ channel : canary
68+ profile : pixel
69+ avd-name : Pixel_3a_API_30_AOSP
70+ force-avd-creation : false
71+ emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
72+ emulator-boot-timeout : 12000
6173 disable-animations : false
62- avd-name : e2e_emulator
63- arch : x86_64
6474 script : |
6575 bun example:android:release
6676 bun test:e2e:android
You can’t perform that action at this time.
0 commit comments