From 4fb86e99150eb428d0c35e44cd83b020c10bb7a6 Mon Sep 17 00:00:00 2001 From: Ravi kumar Veeramally Date: Thu, 22 Feb 2024 21:38:26 +0200 Subject: [PATCH] build: Add GitHub action for SGX integration tests Signed-off-by: Ravi kumar Veeramally --- .github/workflows/integration-sgx.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/integration-sgx.yaml diff --git a/.github/workflows/integration-sgx.yaml b/.github/workflows/integration-sgx.yaml new file mode 100644 index 000000000..fdb865ec8 --- /dev/null +++ b/.github/workflows/integration-sgx.yaml @@ -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