Skip to content

Commit

Permalink
Use KVM to run emulator tests on Linux (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Jan 24, 2024
1 parent 303648a commit 815a4a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ jobs:
- run: ./gradlew build

emulator:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- 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
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
Expand Down

0 comments on commit 815a4a7

Please sign in to comment.