vhost-device/.buildkite/staging-tests.json
Alex Bennée d8c09b511e buildkit: add unittests-gnu-no-defaults
We should probably defend this build mode.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2025-09-12 14:22:27 +03:00

90 lines
2.4 KiB
JSON

{
"tests": [
{
"test_name": "staging: build-gnu",
"command": "cd staging && RUSTFLAGS=\"-D warnings\" cargo build --release",
"soft_fail": "false",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: build-musl",
"command": "cd staging && RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl",
"soft_fail": "true",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: style",
"command": "cd staging && cargo fmt --all -- --check --config format_code_in_doc_comments=true"
},
{
"test_name": "staging: unittests-gnu",
"command": "cd staging && cargo test --all-features --workspace",
"soft_fail": "true",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: unittests-gnu-no-defaults",
"command": "cd staging && cargo test --no-default-features --workspace",
"soft_fail": "true",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: unittests-musl",
"command": "cd staging && cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl",
"soft_fail": "true",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: clippy",
"command": "cd staging && cargo clippy --workspace --bins --examples --benches --all-features --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks",
"soft_fail": "true",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: check-warnings",
"command": "cd staging && RUSTFLAGS=\"-D warnings\" cargo check --all-targets --all-features --workspace",
"soft_fail": "true",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "staging: coverage",
"command": "cd staging && pytest $(find .. -type f -name \"test_coverage.py\")",
"soft_fail": "true",
"docker_plugin": {
"privileged": true
},
"platform": [
"x86_64"
]
},
{
"test_name": "staging: cargo-audit",
"command": "cd staging && cargo audit -q --deny warnings",
"soft_fail": "true",
"platform": [
"x86_64"
]
}
]
}