Skip to content

Commit

Permalink
[NOMERGE] Check if /dev/kvm exists
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Aug 9, 2023
1 parent df4f717 commit 46015f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
up --exit-code-from=sut
recipe-tests:
runs-on: ubuntu-latest
runs-on: kvm
needs: build
strategy:
fail-fast: false
Expand Down Expand Up @@ -142,6 +142,9 @@ jobs:
- name: Repository checkout
uses: actions/checkout@v3

- name: Check /dev/kvm exists
run: ls -la /dev

- name: Install QEMU emulation binaries
if: matrix.backend.install_qemu
run: |
Expand All @@ -160,6 +163,7 @@ jobs:
run:
docker run
--cgroupns=private
--device=/dev/kvm
-v $(pwd)/tests:/tests
-w /tests
--tmpfs /scratch:exec
Expand Down

0 comments on commit 46015f7

Please sign in to comment.