Skip to content

Commit 1b5dbae

Browse files
authored
Merge pull request #23 from EmmanuelMess/emmanuelmess/ci/emulator
Test CI
2 parents cc29992 + a170ac8 commit 1b5dbae

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/android-main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
with:
7777
distribution: "temurin"
7878
java-version: 17
79+
- name: Enable KVM
80+
run: |
81+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
82+
sudo udevadm control --reload-rules
83+
sudo udevadm trigger --name-match=kvm
7984
- name: Gradle cache
8085
uses: gradle/actions/setup-gradle@v3
8186
- name: AVD cache
@@ -96,7 +101,7 @@ jobs:
96101
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
97102
disable-animations: false
98103
sdcard-path-or-size: 100M
99-
arch: x86
104+
arch: x86_64
100105
ram-size: 2048M
101106
channel: canary
102107
script: echo "Generated AVD snapshot for caching."
@@ -109,10 +114,11 @@ jobs:
109114
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
110115
disable-animations: true
111116
sdcard-path-or-size: 100M
112-
arch: x86
117+
arch: x86_64
113118
ram-size: 2048M
114119
channel: canary
115120
script: |
116121
adb logcat -c
117122
adb logcat *:E &
118123
./gradlew :app:connectedCheck
124+

0 commit comments

Comments
 (0)