File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 run : bun run build:android
4242 working-directory : example
4343
44+ - name : AVD cache
45+ uses : actions/cache@v4
46+ id : avd-cache
47+ with :
48+ path : |
49+ ~/.android/avd/*
50+ ~/.android/adb*
51+ key : avd-30-x86
52+
4453 - name : Create AVD and generate snapshot for caching
54+ if : steps.avd-cache.outputs.cache-hit != 'true'
4555 uses : reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2.34.0
4656 with :
4757 # Use the slimmer aosp_atd images for working
6272 emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
6373 emulator-boot-timeout : 12000
6474 disable-animations : false
75+ script : echo "Generated AVD snapshot for caching."
76+
77+ - name : Run build
78+ uses : reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2.34.0
79+ with :
80+ # Use the slimmer aosp_atd images for working
81+ # around "System UI isn't responding" ANR
82+ # (Application Not Responding) error
83+ #
84+ # https://android-developers.googleblog.com/2021/10/whats-new-in-scalable-automated-testing.html#:~:text=Slimmer%20Emulator%20System%20Images
85+ # https://github.com/ReactiveCircus/android-emulator-runner/issues/129
86+ # https://github.com/upleveled/hotline-bling-codealong/pull/26#issuecomment-1094659722
87+ target : aosp_atd
88+ api-level : 30
89+ arch : x86
90+ channel : canary
91+ profile : pixel
92+ avd-name : Pixel_3a_API_30_AOSP
93+ force-avd-creation : false
94+ emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
95+ emulator-boot-timeout : 12000
96+ disable-animations : false
6597 script : |
6698 bun example:android:release
You can’t perform that action at this time.
0 commit comments