Skip to content

Commit 7cbebb7

Browse files
authored
Update agp-matrix.yml
1 parent 2dca2fc commit 7cbebb7

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/agp-matrix.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,9 @@ jobs:
4343
with:
4444
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4545

46-
- name: Setup KVM
47-
shell: bash
46+
- name: Enable KVM
4847
run: |
49-
# check if virtualization is supported...
50-
sudo apt install -y --no-install-recommends cpu-checker coreutils && echo "CPUs=$(nproc --all)" && kvm-ok
51-
# allow access to KVM to run the emulator
52-
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' \
53-
| sudo tee /etc/udev/rules.d/99-kvm4all.rules
48+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
5449
sudo udevadm control --reload-rules
5550
sudo udevadm trigger --name-match=kvm
5651
@@ -62,6 +57,7 @@ jobs:
6257
~/.android/avd/*
6358
~/.android/adb*
6459
key: avd-api-30
60+
6561
- name: Create AVD and generate snapshot for caching
6662
if: steps.avd-cache.outputs.cache-hit != 'true'
6763
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # pin@v2
@@ -71,7 +67,7 @@ jobs:
7167
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
7268
disable-animations: true
7369
disable-spellchecker: true
74-
arch: arm64-v8a
70+
arch: x86_64
7571
disk-size: 4096M
7672
script: echo "Generated AVD snapshot for caching."
7773

@@ -88,7 +84,7 @@ jobs:
8884
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8985
disable-animations: true
9086
disable-spellchecker: true
91-
arch: arm64-v8a
87+
arch: x86_64
9288
disk-size: 4096M
9389
script: ./gradlew sentry-android-integration-tests:sentry-uitest-android:connectedReleaseAndroidTest -DtestBuildType=release -Denvironment=github --daemon
9490

0 commit comments

Comments
 (0)