CI: do not build gpu for musl targets

Do not build the GPU device for musl targets. To compile it properly would
require setting up a build enivorment with all the native dependencies
compiled with musl as well.

Signed-off-by: Matej Hrica <mhrica@redhat.com>
This commit is contained in:
Matej Hrica 2025-01-21 13:59:54 +01:00 committed by Stefano Garzarella
parent a2f0f91857
commit 7488f44220
2 changed files with 7 additions and 2 deletions

View file

@ -11,7 +11,7 @@
},
{
"test_name": "staging: build-musl",
"command": "cd staging && RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl",
"command": "cd staging && RUSTFLAGS=\"-D warnings\" cargo build --release --workspace --exclude vhost-device-gpu --target {target_platform}-unknown-linux-musl",
"soft_fail": "true",
"platform": [
"x86_64",
@ -33,7 +33,7 @@
},
{
"test_name": "staging: unittests-musl",
"command": "cd staging && cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl",
"command": "cd staging && cargo test --all-features --workspace --exclude vhost-device-gpu --target {target_platform}-unknown-linux-musl",
"soft_fail": "true",
"platform": [
"x86_64",