mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
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 <roypat@amazon.co.uk>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"tests": [
|
||||
{
|
||||
"test_name": "build-gnu",
|
||||
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --workspace",
|
||||
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --workspace --all-targets",
|
||||
"platform": [
|
||||
"x86_64",
|
||||
"aarch64",
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
{
|
||||
"test_name": "build-musl",
|
||||
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl --workspace",
|
||||
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl --workspace --all-targets",
|
||||
"platform": [
|
||||
"x86_64",
|
||||
"aarch64"
|
||||
|
||||
Reference in New Issue
Block a user