Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Cach30verfl0w authored Jun 13, 2024
1 parent d1a7d55 commit de3ee3d
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/kmp-advcrypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,6 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: kmp-advcrypto-avd-${{ matrix.api-level }}-cache

- 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
force-avd-creation: false
emulator-options: -no-snapshot -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand All @@ -74,4 +53,4 @@ jobs:
force-avd-creation: false
disable-animations: true
emulator-options: -no-snapshot -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: ./gradlew :kmp-advcrypto:connectedDebugAndroidTest --info
script: ./gradlew :kmp-advcrypto:connectedDebugAndroidTest --info

0 comments on commit de3ee3d

Please sign in to comment.