Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/android-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

test_emulator:
timeout-minutes: 30 # Emulator can get stuck
runs-on: macos-latest
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
Expand All @@ -76,6 +76,11 @@ jobs:
with:
distribution: "temurin"
java-version: 17
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3
- name: AVD cache
Expand All @@ -96,7 +101,7 @@ jobs:
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
sdcard-path-or-size: 100M
arch: x86
arch: x86_64
ram-size: 2048M
channel: canary
script: echo "Generated AVD snapshot for caching."
Expand All @@ -109,10 +114,11 @@ jobs:
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
sdcard-path-or-size: 100M
arch: x86
arch: x86_64
ram-size: 2048M
channel: canary
script: |
adb logcat -c
adb logcat *:E &
./gradlew :app:connectedCheck

Loading