2024-02-22 21:38:26 +02:00
|
|
|
name: Cloud Hypervisor Tests (SGX)
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Tests (SGX)
|
|
|
|
runs-on: jammy-sgx
|
|
|
|
steps:
|
2024-02-29 14:23:30 -08:00
|
|
|
- name: Fix workspace permissions
|
|
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
|
|
run: sudo chown -R github-runner:github-runner ${GITHUB_WORKSPACE}
|
2024-02-22 21:38:26 +02:00
|
|
|
- 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
|