Skip to content

Commit

Permalink
fix: switch android github build to ubuntu
Browse files Browse the repository at this point in the history
Switch the android build on github to ubuntu, since it is now
recommended as the faster and cheaper way of running and android
emulator.
  • Loading branch information
nand4011 committed Jun 17, 2024
1 parent 082564e commit a1c7ac9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

android:
# The Android emulator only has hardware acceleration on macOS.
runs-on: macos-latest
runs-on: ubuntu-latest
strategy:
matrix:
api-level: [ 23 ]
Expand All @@ -72,6 +72,12 @@ jobs:
with:
arguments: clean build -x jvmTest -x testDebugUnitTest -x testReleaseUnitTest

- 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: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit a1c7ac9

Please sign in to comment.