Skip to content

Commit

Permalink
Enable KVM on base Linux image
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jan 20, 2024
1 parent a4b81ed commit 02aeb15
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 02aeb15

Please sign in to comment.