From bc07d3ef7a58fbf4d033e86c4d851aa439ef1675 Mon Sep 17 00:00:00 2001 From: Matej Hrica Date: Tue, 4 Feb 2025 14:27:28 +0100 Subject: [PATCH] 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 --- .buildkite/main-tests.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.buildkite/main-tests.json b/.buildkite/main-tests.json index d4beb38..5356adf 100644 --- a/.buildkite/main-tests.json +++ b/.buildkite/main-tests.json @@ -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 @@ ] } ] -} +} \ No newline at end of file