mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
Running the Android 14 test cases with aosp_atd emulators since default apis is not available for Android 14.
This commit is contained in:
parent
86b977c950
commit
f066272087
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -13,8 +13,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
api-level: [ 25, 30, 33, 34 ]
|
api-level: [ 25, 30, 33, 34 ]
|
||||||
system-image:
|
|
||||||
- { api: 34, image: "default" }
|
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
@ -59,7 +57,7 @@ jobs:
|
|||||||
uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
target: ${{ matrix.api-level != 33 && 'default' || 'aosp_atd' }}
|
target: ${{ matrix.api-level == 33 || matrix.api-level == 34 && 'aosp_atd' || 'default' }}
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
profile: pixel_2
|
profile: pixel_2
|
||||||
ram-size: 4096M
|
ram-size: 4096M
|
||||||
@ -78,7 +76,7 @@ jobs:
|
|||||||
GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.network.retry.max.attempts=6 -Dorg.gradle.internal.network.retry.initial.backOff=2000"
|
GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.network.retry.max.attempts=6 -Dorg.gradle.internal.network.retry.initial.backOff=2000"
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
target: ${{ matrix.api-level != 33 && 'default' || 'aosp_atd' }}
|
target: ${{ matrix.api-level == 33 || matrix.api-level == 34 && 'aosp_atd' || 'default' }}
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
profile: pixel_2
|
profile: pixel_2
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user