Skip to content

Commit 5be3429

Browse files
committed
ci: add --all-targets to build test
This ensures tests, binaries, benchmarks, examples and libraries are all build-tested, instead of just the default targets. Signed-off-by: Patrick Roy <[email protected]>
1 parent 0496be0 commit 5be3429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.buildkite/test_description.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"tests": [
33
{
44
"test_name": "build-gnu",
5-
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --workspace",
5+
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --workspace --all-targets",
66
"platform": [
77
"x86_64",
88
"aarch64",
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"test_name": "build-musl",
14-
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl --workspace",
14+
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl --workspace --all-targets",
1515
"platform": [
1616
"x86_64",
1717
"aarch64"

0 commit comments

Comments
 (0)