Skip to content

Commit

Permalink
Use Ubuntu instead of MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteHamster committed Apr 27, 2024
1 parent 5584540 commit b933c36
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/checks.yml
Expand Up @@ -102,7 +102,7 @@ jobs:
emulator-test:
name: "Emulator Test"
needs: static-analysis
runs-on: macOS-latest
runs-on: ubuntu-latest
timeout-minutes: 45
env:
api-level: 30
Expand All @@ -124,8 +124,11 @@ jobs:
run: echo "org.gradle.parallel=true" >> local.properties
- name: Build with Gradle
run: ./gradlew assemblePlayDebugAndroidTest
- name: Configure Emulator
run: echo -e "Vulkan = off\nGLDirectMem = on" > ~/.android/advancedFeatures.ini
- name: Enable KVM group perms
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: Android Emulator test
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit b933c36

Please sign in to comment.