build: Add GitHub action for SGX integration tests

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>
This commit is contained in:
Ravi kumar Veeramally 2024-02-22 21:38:26 +02:00 committed by Rob Bradford
parent 7d305c5bbf
commit 4fb86e9915

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

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