Skip to content

Commit 3310872

Browse files
committed
try API 25
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
1 parent 028d002 commit 3310872

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
path: |
6666
~/.android/avd/*
6767
~/.android/adb*
68-
key: avd-30-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-${{runner.arch}}
68+
key: avd-25-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-${{runner.arch}}
6969

7070
- name: Create directory for avd
7171
# This shouldn't be necesary but this is a work around for
@@ -77,7 +77,7 @@ jobs:
7777
if: steps.avd-cache.outputs.cache-hit != 'true'
7878
uses: reactivecircus/android-emulator-runner@v2
7979
with:
80-
api-level: 30
80+
api-level: 25
8181
force-avd-creation: false
8282
arch: ${{ matrix.platform.avd_arch }}
8383
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
@@ -89,15 +89,15 @@ jobs:
8989
env:
9090
RANLIB: "${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib"
9191
with:
92-
api-level: 30
92+
api-level: 25
9393
arch: ${{ matrix.platform.avd_arch }}
9494
force-avd-creation: false
9595
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
9696
disable-animations: true
9797
script: |
9898
cargo dinghy all-platforms
9999
cargo dinghy all-devices
100-
cargo dinghy -p auto-android-${{ matrix.platform.arch }}-api30 test --features "${{ matrix.features }}" -- --test-threads 1
100+
cargo dinghy -p auto-android-${{ matrix.platform.arch }}-api25 test --features "${{ matrix.features }}" -- --test-threads 1
101101
Format:
102102
name: Run `rustfmt`
103103
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)