build: Add GitHub action for VFIO integration tests

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>
(cherry picked from commit b765acd6081c0d2e3e88f2d2f1a4db38661c3d37)
This commit is contained in:
Ravi kumar Veeramally 2024-02-22 20:07:03 +02:00 committed by Bo Chen
parent e082ed23ed
commit ea12024793

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