mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -04:00
Added android 13 in nightly build
This commit is contained in:
parent
650466390f
commit
21bc3ff80c
30
.github/workflows/nightly.yml
vendored
30
.github/workflows/nightly.yml
vendored
@ -10,8 +10,7 @@ jobs:
|
|||||||
instrumentation_tests:
|
instrumentation_tests:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
api-level: [21, 22, 23, 24, 25, 27, 28, 30]
|
api-level: [21, 22, 23, 24, 25, 27, 28, 30, 31, 32, 33]
|
||||||
target: [default]
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
steps:
|
steps:
|
||||||
@ -22,8 +21,9 @@ jobs:
|
|||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
|
distribution: temurin
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|
||||||
- name: Restore Cache
|
- name: Restore Cache
|
||||||
@ -37,19 +37,37 @@ jobs:
|
|||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: run instrumentation tests
|
- name: run instrumentation tests
|
||||||
uses: ReactiveCircus/android-emulator-runner@v2.23.0
|
uses: ReactiveCircus/android-emulator-runner@v2.25.0
|
||||||
|
if: ${{ matrix.api-level != 33 }}
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
target: ${{ matrix.target }}
|
target: default
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
profile: pixel_2
|
profile: pixel_2
|
||||||
ndk: 21.4.7075529
|
ndk: 21.4.7075529
|
||||||
|
ram-size: '4096M'
|
||||||
|
disk-size: '14G'
|
||||||
|
sdcard-path-or-size: '1000M'
|
||||||
|
disable-animations: false
|
||||||
|
script: bash contrib/instrumentation_nightly.sh
|
||||||
|
|
||||||
|
- name: run instrumentation tests on google_apis for android 33
|
||||||
|
uses: ReactiveCircus/android-emulator-runner@v2.25.0
|
||||||
|
if: ${{ matrix.api-level == 33 }}
|
||||||
|
with:
|
||||||
|
api-level: ${{ matrix.api-level }}
|
||||||
|
target: google_apis
|
||||||
|
arch: x86_64
|
||||||
|
profile: pixel_2
|
||||||
|
ndk: 21.4.7075529
|
||||||
|
ram-size: '4096M'
|
||||||
|
disk-size: '14G'
|
||||||
sdcard-path-or-size: '1000M'
|
sdcard-path-or-size: '1000M'
|
||||||
disable-animations: false
|
disable-animations: false
|
||||||
script: bash contrib/instrumentation_nightly.sh
|
script: bash contrib/instrumentation_nightly.sh
|
||||||
|
|
||||||
- name: Upload screenshot result
|
- name: Upload screenshot result
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.api-level }}
|
name: ${{ matrix.api-level }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user