mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 14:41:23 +00:00
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:
parent
02409f0a09
commit
bc07d3ef7a
@ -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 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user