2024-02-22 11:22:27 +00:00
|
|
|
name: Cloud Hypervisor Tests (ARM64)
|
2024-02-28 09:49:28 +00:00
|
|
|
on: [pull_request, merge_group]
|
2024-03-01 10:00:16 -08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
2024-02-22 11:22:27 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-02-22 17:22:24 +00:00
|
|
|
timeout-minutes: 60
|
2024-02-22 11:22:27 +00:00
|
|
|
name: Tests (ARM64)
|
|
|
|
runs-on: focal-arm64
|
|
|
|
steps:
|
2024-02-29 14:23:30 -08:00
|
|
|
- name: Fix workspace permissions
|
|
|
|
run: sudo chown -R github-runner:github-runner ${GITHUB_WORKSPACE}
|
2024-02-22 11:22:27 +00:00
|
|
|
- name: Code checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2024-02-22 16:17:09 +00:00
|
|
|
- name: Run unit tests (musl)
|
|
|
|
run: scripts/dev_cli.sh tests --unit --libc musl
|
2024-02-22 11:22:27 +00:00
|
|
|
- name: Load openvswitch module
|
|
|
|
run: sudo modprobe openvswitch
|
2024-02-22 16:17:09 +00:00
|
|
|
- name: Run integration tests (musl)
|
2024-02-22 17:22:24 +00:00
|
|
|
timeout-minutes: 30
|
2024-02-22 16:17:09 +00:00
|
|
|
run: scripts/dev_cli.sh tests --integration --libc musl
|