mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-09 14:25:21 +00:00
build: Build test all supported build configurations on Travis
Treat warnings as errors for these test builds. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
3bc11a4a2e
commit
f622a76597
@ -8,8 +8,10 @@ before_script:
|
|||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo build --release
|
- cargo rustc -- -D warnings
|
||||||
- cargo build --release --no-default-features
|
- cargo rustc --no-default-features --features "pci" -- -D warnings
|
||||||
|
- cargo rustc --no-default-features --features "pci,acpi" -- -D warnings
|
||||||
|
- cargo rustc --no-default-features --features "mmio" -- -D warnings
|
||||||
- cargo test
|
- cargo test
|
||||||
- cargo clippy --all-targets --all-features -- -D warnings
|
- cargo clippy --all-targets --all-features -- -D warnings
|
||||||
- find . -name "*.rs" | xargs rustfmt --check
|
- find . -name "*.rs" | xargs rustfmt --check
|
||||||
|
Loading…
Reference in New Issue
Block a user