diff --git a/.buildkite/autogenerate_pipeline.py b/.buildkite/autogenerate_pipeline.py index 0af68a5..331bd23 100755 --- a/.buildkite/autogenerate_pipeline.py +++ b/.buildkite/autogenerate_pipeline.py @@ -60,7 +60,7 @@ # This represents the version of the rust-vmm-container used # for running the tests. -CONTAINER_VERSION = "gf26de2f" +CONTAINER_VERSION = "g5447a4e" # The suffix suggests that the dev image with `v{N}-riscv` tag is not to be # confused with real `riscv64` image (it's actually a `x86_64` image with # `qemu-system-riscv64` installed), since AWS yet has `riscv64` machines diff --git a/.buildkite/test_description.json b/.buildkite/test_description.json index 1708719..b33f50b 100644 --- a/.buildkite/test_description.json +++ b/.buildkite/test_description.json @@ -2,7 +2,7 @@ "tests": [ { "test_name": "build-gnu", - "command": "RUSTFLAGS=\"-D warnings\" cargo build --release", + "command": "RUSTFLAGS=\"-D warnings\" cargo all-features build --release --workspace --all-targets", "platform": [ "x86_64", "aarch64", @@ -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 all-features build --release --target {target_platform}-unknown-linux-musl --workspace --all-targets", "platform": [ "x86_64", "aarch64" @@ -39,7 +39,7 @@ }, { "test_name": "unittests-musl", - "command": "cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl", + "command": "cargo all-features test --workspace --target {target_platform}-unknown-linux-musl", "platform": [ "x86_64", "aarch64" @@ -50,7 +50,7 @@ }, { "test_name": "unittests-gnu-release", - "command": "cargo test --release --all-features --workspace", + "command": "cargo all-features test --release --workspace", "platform": [ "x86_64", "aarch64", @@ -62,7 +62,7 @@ }, { "test_name": "unittests-musl-release", - "command": "cargo test --release --all-features --workspace --target {target_platform}-unknown-linux-musl", + "command": "cargo all-features test --release --workspace --target {target_platform}-unknown-linux-musl", "platform": [ "x86_64", "aarch64" @@ -73,16 +73,7 @@ }, { "test_name": "clippy", - "command": "cargo clippy --workspace --bins --examples --benches --all-features --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks", - "platform": [ - "x86_64", - "aarch64", - "riscv64" - ] - }, - { - "test_name": "check-warnings", - "command": "RUSTFLAGS=\"-D warnings\" cargo check --all-targets --all-features --workspace", + "command": "cargo clippy --workspace --all-features --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks", "platform": [ "x86_64", "aarch64",