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 14
14
15
15
jobs :
16
16
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
18
18
concurrency :
19
19
group : ${{ github.ref }}-android
20
20
cancel-in-progress : true
@@ -50,17 +50,27 @@ jobs:
50
50
run : bun run build:android
51
51
working-directory : example
52
52
53
- - name : Run Android Emulator and app
53
+ - name : Create AVD and generate snapshot for caching
54
54
uses : reactivecircus/android-emulator-runner@v2
55
55
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
57
63
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
61
73
disable-animations : false
62
- avd-name : e2e_emulator
63
- arch : x86_64
64
74
script : |
65
75
bun example:android:release
66
76
bun test:e2e:android
You can’t perform that action at this time.
0 commit comments