mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Add heap-size
to emulator. Also, set to not force create the avd when running the test cases.
This commit is contained in:
parent
fa5e1cfc82
commit
d0cf899009
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
key: avd-${{ matrix.api-level }}
|
key: avd-${{ matrix.api-level }}
|
||||||
|
|
||||||
- name: Create AVD and generate snapshot for caching
|
- name: Create AVD and generate snapshot for caching
|
||||||
if: steps.avd-cache.outputs.cache-hit != 'true'
|
# if: steps.avd-cache.outputs.cache-hit != 'true'
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
@ -82,6 +82,7 @@ jobs:
|
|||||||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
ram-size: 4096M
|
ram-size: 4096M
|
||||||
cores: 4
|
cores: 4
|
||||||
|
force-avd-creation: false
|
||||||
sdcard-path-or-size: 2048M
|
sdcard-path-or-size: 2048M
|
||||||
disable-animations: true
|
disable-animations: true
|
||||||
heap-size: ${{ matrix.api-level != 24 && '512M' || '' }}
|
heap-size: ${{ matrix.api-level != 24 && '512M' || '' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user