mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
build: Add libc to matrix for x86-64 tests
To reduce issues caused by flaky tests split the musl and glibc jobs into separate jobs. This means fewer jobs will need to be restarted for flaky tests. This will also increase CI throughput since the musl builds account for ~40% of the total CI time when run together with glibc. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
d32de07be7
commit
2e4079becb
11
.github/workflows/integration-x86-64.yaml
vendored
11
.github/workflows/integration-x86-64.yaml
vendored
@ -7,6 +7,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
runner: ["garm-jammy", "garm-jammy-amd"]
|
||||
libc: ["musl", "gnu"]
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Tests (x86-64)
|
||||
runs-on: ${{ matrix.runner }}
|
||||
@ -31,12 +32,6 @@ jobs:
|
||||
- name: Load openvswitch module
|
||||
run: sudo modprobe openvswitch
|
||||
- name: Run integration tests
|
||||
run: scripts/dev_cli.sh tests --integration
|
||||
run: scripts/dev_cli.sh tests --integration --libc ${{ matrix.libc }}
|
||||
- name: Run live-migration integration tests
|
||||
run: scripts/dev_cli.sh tests --integration-live-migration
|
||||
- name: Run unit tests (musl)
|
||||
run: scripts/dev_cli.sh tests --unit --libc musl
|
||||
- name: Run integration tests (musl)
|
||||
run: scripts/dev_cli.sh tests --integration --libc musl
|
||||
- name: Run live-migration integration tests (musl)
|
||||
run: scripts/dev_cli.sh tests --integration-live-migration --libc musl
|
||||
run: scripts/dev_cli.sh tests --integration-live-migration --libc ${{ matrix.libc }}
|
||||
|
Loading…
Reference in New Issue
Block a user