Skip to content

Commit

Permalink
dont use cache here
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Apr 20, 2024
1 parent 7b86355 commit 1c3383f
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,33 +61,6 @@ jobs:
java -version || exit 0
echo "===========2========="
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3

- name: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
profile: Nexus 6
arch: x86_64
ndk: 21.0.6113669
cmake: 3.10.2.4988404
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
disable-spellchecker: true
script: echo "Generated AVD snapshot for caching."

- name: android test
timeout-minutes: 30
continue-on-error: true
Expand All @@ -98,7 +71,7 @@ jobs:
arch: x86_64
ndk: 21.0.6113669
cmake: 3.10.2.4988404
force-avd-creation: false
force-avd-creation: true
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
disable-spellchecker: true
Expand Down

0 comments on commit 1c3383f

Please sign in to comment.