Skip to content

Commit

Permalink
Merge pull request square#4036 from Goooler/enable-linux-kvm
Browse files Browse the repository at this point in the history
Enable KVM on base Linux image
  • Loading branch information
JakeWharton authored Jan 20, 2024
2 parents a4b81ed + 7afd54e commit 7938e18
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: ./gradlew build

android:
runs-on: macos-latest
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand All @@ -34,6 +34,13 @@ jobs:
- 29

steps:
- 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
ls /dev/kvm
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
Expand Down

0 comments on commit 7938e18

Please sign in to comment.