Skip to content

Commit 93e261a

Browse files
authored
Fix: Run CI on Ubuntu (with KVM enabled) instead of MacOS (#105)
1 parent 77b7513 commit 93e261a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on: [push, pull_request]
55
jobs:
66
build:
77
timeout-minutes: 40
8-
runs-on: macOS-latest
8+
runs-on: ubuntu-latest
99
steps:
10+
# See: https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
11+
- name: Enable KVM group perms
12+
run: |
13+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
14+
sudo udevadm control --reload-rules
15+
sudo udevadm trigger --name-match=kvm
1016
- name: checkout
1117
uses: actions/checkout@v4
1218
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)