From 58dab8b1433c15e507edef64970a428c719ceda0 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Wed, 1 Oct 2025 10:29:04 +0100 Subject: [PATCH] do not use cargo-all-features on riscv64 Due to us running riscv tests in an emulated environment, compiling multiple permutations of crates is simply too slow and causes buildkite timeouts. Revert to using --all-features here. Signed-off-by: Patrick Roy --- .buildkite/test_description.json | 38 ++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/.buildkite/test_description.json b/.buildkite/test_description.json index 3bb2ca9..7af19fa 100644 --- a/.buildkite/test_description.json +++ b/.buildkite/test_description.json @@ -5,7 +5,13 @@ "command": "RUSTFLAGS=\"-D warnings\" cargo all-features build --release --workspace --all-targets", "platform": [ "x86_64", - "aarch64", + "aarch64" + ] + }, + { + "test_name": "build-gnu", + "command": "RUSTFLAGS=\"-D warnings\" cargo build --all-features --release --workspace --all-targets", + "platform": [ "riscv64" ] }, @@ -30,7 +36,16 @@ "command": "cargo all-features test --workspace", "platform": [ "x86_64", - "aarch64", + "aarch64" + ], + "docker_plugin": { + "privileged": true + } + }, + { + "test_name": "unittests-gnu", + "command": "cargo test --all-features --workspace", + "platform": [ "riscv64" ], "docker_plugin": { @@ -53,7 +68,16 @@ "command": "cargo all-features test --release --workspace", "platform": [ "x86_64", - "aarch64", + "aarch64" + ], + "docker_plugin": { + "privileged": true + } + }, + { + "test_name": "unittests-gnu-release", + "command": "cargo test --all-features --release --workspace", + "platform": [ "riscv64" ], "docker_plugin": { @@ -76,7 +100,13 @@ "command": "cargo all-features clippy --workspace --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks", "platform": [ "x86_64", - "aarch64", + "aarch64" + ] + }, + { + "test_name": "clippy", + "command": "cargo clippy --all-features --workspace --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks", + "platform": [ "riscv64" ] },