Skip to content

Commit 9572c80

Browse files
pizzacat83roypat
authored andcommitted
ci: build all targets in custom build tests
Add --all-targets flag to all custom build test commands to ensure benchmarks, tests, and examples are compiled in addition to the library. Signed-off-by: pizzacat83 <[email protected]>
1 parent e8589fd commit 9572c80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.buildkite/custom-tests.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
"tests": [
33
{
44
"test_name": "build-gnu-bzimage",
5-
"command": "cargo build --release --features bzimage",
5+
"command": "cargo build --release --features bzimage --all-targets",
66
"platform": [
77
"x86_64"
88
]
99
},
1010
{
1111
"test_name": "build-musl-bzimage",
12-
"command": "cargo build --release --features bzimage --target {target_platform}-unknown-linux-musl",
12+
"command": "cargo build --release --features bzimage --target {target_platform}-unknown-linux-musl --all-targets",
1313
"platform": [
1414
"x86_64"
1515
]
1616
},
1717
{
1818
"test_name": "build-no-default-features",
19-
"command": "cargo build --release --no-default-features",
19+
"command": "cargo build --release --no-default-features --all-targets",
2020
"platform": [
2121
"x86_64",
2222
"aarch64"

0 commit comments

Comments
 (0)