Running the Android 14 test cases with aosp_atd emulators since default apis is not available for Android 14.

This commit is contained in:
MohitMali 2023-11-03 15:01:51 +05:30 committed by Kelson
parent 86b977c950
commit f066272087

View File

@ -13,8 +13,6 @@ jobs:
strategy:
matrix:
api-level: [ 25, 30, 33, 34 ]
system-image:
- { api: 34, image: "default" }
fail-fast: true
runs-on: ubuntu-22.04
steps:
@ -59,7 +57,7 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
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
profile: pixel_2
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"
with:
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
profile: pixel_2
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none