build: Add GitHub action for VFIO integration tests

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>
This commit is contained in:
Ravi kumar Veeramally 2024-02-22 20:07:03 +02:00 committed by Rob Bradford
parent 4fb86e9915
commit b765acd608

22
.github/workflows/integration-vfio.yaml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Cloud Hypervisor Tests (VFIO)
on:
push:
branches:
- main
jobs:
build:
if: github.event_name == 'push'
name: Tests (VFIO)
runs-on: jammy-vfio
steps:
- name: Code checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run VFIO integration tests
timeout-minutes: 15
run: scripts/dev_cli.sh tests --integration-vfio
- name: Run VFIO integration tests for musl
timeout-minutes: 15
run: scripts/dev_cli.sh tests --integration-vfio --libc musl