mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +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
|
||||
|
||||
script:
|
||||
- cargo build --release
|
||||
- cargo build --release --no-default-features
|
||||
- cargo rustc -- -D warnings
|
||||
- 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 clippy --all-targets --all-features -- -D warnings
|
||||
- find . -name "*.rs" | xargs rustfmt --check
|
||||
|
Loading…
Reference in New Issue
Block a user