Skip to content

Commit

Permalink
feat: Use ubuntu-latest for Android tests (#1747)
Browse files Browse the repository at this point in the history
Due to lack of nested virtualization (hardware acceleration), the
Android tests had to be executed on MacOS.
Since a [GitHub
update](https://github.blog/2024-01-17-github-hosted-runners-double-the-power-for-open-source/)
they should be executable on ubuntu-runners.
  • Loading branch information
Gustl22 authored Feb 8, 2024
1 parent 2333cb7 commit 16e712c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,17 @@ jobs:
--dart-define USE_LOCAL_SERVER=true
android:
runs-on: macos-13
runs-on: ubuntu-latest
timeout-minutes: 90
if: inputs.enable_android
steps:
- uses: actions/checkout@v3
- name: Enable KVM group perms
# see: https://github.com/actions/runner-images/discussions/7191
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
- uses: actions/setup-java@v3
with:
# AGP8 needs JDK 17
Expand Down

0 comments on commit 16e712c

Please sign in to comment.