Skip to content

Commit

Permalink
Fix: Run CI on Ubuntu instead of MacOS with KVM enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Rolf-Smit committed Sep 2, 2024
1 parent 77b7513 commit 5016149
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ on: [push, pull_request]
jobs:
build:
timeout-minutes: 40
runs-on: macOS-latest
runs-on: ubuntu-latest
steps:
# See: https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
- 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
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down

0 comments on commit 5016149

Please sign in to comment.