mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
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 <roypat@amazon.co.uk>
This commit is contained in:
@@ -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"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user