Skip to content

Commit c82f005

Browse files
committed
lower resource usage
1 parent 2a92837 commit c82f005

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,6 @@ jobs:
7171
~/.android/adb*
7272
key: avd-${{ matrix.api-level }}-${{matrix.profile}}
7373

74-
- name: create AVD and generate snapshot for caching
75-
if: steps.avd-cache.outputs.cache-hit != 'true'
76-
uses: reactivecircus/android-emulator-runner@v2
77-
with:
78-
api-level: ${{ matrix.api-level }}
79-
profile: ${{matrix.profile}}
80-
avd-name: Pixel_API_21_AOSP
81-
target: default
82-
force-avd-creation: false
83-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
84-
disable-animations: false
85-
script: echo "Generated AVD snapshot for caching."
86-
8774
- name: Install devbox
8875
uses: jetify-com/devbox-install-action@v0.12.0
8976
with:
@@ -99,4 +86,7 @@ jobs:
9986
force-avd-creation: false
10087
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
10188
disable-animations: true
89+
ram-size: 1024M
90+
heap-size: 256M
91+
disk-size: 800M
10292
script: devbox run test-android

0 commit comments

Comments
 (0)