Skip to content

Commit 58dab8b

Browse files
committed
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 <[email protected]>
1 parent 55cac8c commit 58dab8b

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

.buildkite/test_description.json

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
"command": "RUSTFLAGS=\"-D warnings\" cargo all-features build --release --workspace --all-targets",
66
"platform": [
77
"x86_64",
8-
"aarch64",
8+
"aarch64"
9+
]
10+
},
11+
{
12+
"test_name": "build-gnu",
13+
"command": "RUSTFLAGS=\"-D warnings\" cargo build --all-features --release --workspace --all-targets",
14+
"platform": [
915
"riscv64"
1016
]
1117
},
@@ -30,7 +36,16 @@
3036
"command": "cargo all-features test --workspace",
3137
"platform": [
3238
"x86_64",
33-
"aarch64",
39+
"aarch64"
40+
],
41+
"docker_plugin": {
42+
"privileged": true
43+
}
44+
},
45+
{
46+
"test_name": "unittests-gnu",
47+
"command": "cargo test --all-features --workspace",
48+
"platform": [
3449
"riscv64"
3550
],
3651
"docker_plugin": {
@@ -53,7 +68,16 @@
5368
"command": "cargo all-features test --release --workspace",
5469
"platform": [
5570
"x86_64",
56-
"aarch64",
71+
"aarch64"
72+
],
73+
"docker_plugin": {
74+
"privileged": true
75+
}
76+
},
77+
{
78+
"test_name": "unittests-gnu-release",
79+
"command": "cargo test --all-features --release --workspace",
80+
"platform": [
5781
"riscv64"
5882
],
5983
"docker_plugin": {
@@ -76,7 +100,13 @@
76100
"command": "cargo all-features clippy --workspace --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks",
77101
"platform": [
78102
"x86_64",
79-
"aarch64",
103+
"aarch64"
104+
]
105+
},
106+
{
107+
"test_name": "clippy",
108+
"command": "cargo clippy --all-features --workspace --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks",
109+
"platform": [
80110
"riscv64"
81111
]
82112
},

0 commit comments

Comments
 (0)