mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +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> (cherry picked from commit 2e4079becb785e1b948b9cd4ae97ca3ab846a9ef)
This commit is contained in:
parent
b312a970ef
commit
23f1490667
13
.github/workflows/integration-x86-64.yaml
vendored
13
.github/workflows/integration-x86-64.yaml
vendored
@ -6,7 +6,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
runner: ["garm-jammy", "garm-jammy-amd"]
|
||||
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…
x
Reference in New Issue
Block a user