Skip to content

Commit

Permalink
ci: adds hardware acceleration for linux runners
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld committed Mar 6, 2024
1 parent d95387c commit 9454e4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
runs-on: ubuntu-latest

steps:
# This enables hardware acceleration on large linux 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
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
Expand Down

0 comments on commit 9454e4b

Please sign in to comment.