CI: Exclude GPU from musl builds/tests

The GPU device doesn't support musl builds, because it links to many native
libraries which are compiled with glibc. vhost-device-gpu uses the virglrender and
gfxstream native libraries, which in turn require other native libraries
(libstdc++, Vulkan, OpenGL, etc.).

Signed-off-by: Matej Hrica <mhrica@redhat.com>
This commit is contained in:
Matej Hrica 2025-02-04 14:27:28 +01:00 committed by Manos Pitsidianakis
parent 02409f0a09
commit bc07d3ef7a

View File

@ -11,7 +11,7 @@
},
{
"test_name": "build-musl",
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl",
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl --workspace --exclude vhost-device-gpu",
"platform": [
"x86_64",
"aarch64"
@ -35,7 +35,7 @@
},
{
"test_name": "unittests-musl",
"command": "cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl",
"command": "cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl --exclude vhost-device-gpu",
"platform": [
"x86_64",
"aarch64"
@ -58,7 +58,7 @@
},
{
"test_name": "unittests-musl-release",
"command": "cargo test --release --all-features --workspace --target {target_platform}-unknown-linux-musl",
"command": "cargo test --release --all-features --workspace --target {target_platform}-unknown-linux-musl --exclude vhost-device-gpu",
"platform": [
"x86_64",
"aarch64"
@ -110,4 +110,4 @@
]
}
]
}
}