Build with all features enabled on CI.
This commit is contained in:
parent
dbb4ba8738
commit
1102415693
|
@ -40,7 +40,7 @@ commands:
|
||||||
- v6-cargo-cache-{{arch}}-{{checksum "rust-version"}}-{{checksum "Cargo.lock"}}
|
- v6-cargo-cache-{{arch}}-{{checksum "rust-version"}}-{{checksum "Cargo.lock"}}
|
||||||
- run:
|
- run:
|
||||||
name: Build all targets
|
name: Build all targets
|
||||||
command: cargo build --tests
|
command: cargo build --tests --all-features
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- /usr/local/cargo/registry
|
- /usr/local/cargo/registry
|
||||||
|
@ -57,7 +57,7 @@ commands:
|
||||||
name: Check all targets
|
name: Check all targets
|
||||||
command: |
|
command: |
|
||||||
if rustup component add clippy; then
|
if rustup component add clippy; then
|
||||||
cargo clippy --all --all-targets -- -Dwarnings
|
cargo clippy --all --all-targets --all-features -- -Dwarnings
|
||||||
else
|
else
|
||||||
echo Skipping clippy
|
echo Skipping clippy
|
||||||
fi
|
fi
|
||||||
|
@ -72,7 +72,7 @@ commands:
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Run all tests
|
name: Run all tests
|
||||||
command: cargo test
|
command: cargo test --all-features
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|
Loading…
Reference in New Issue