mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 00:50:03 +01:00
Update azure-pipelines.yml
This commit is contained in:
parent
88f899d341
commit
5cb7df57fc
@ -42,10 +42,10 @@ steps:
|
|||||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||||
rustup component add rustfmt --toolchain "stable"
|
rustup component add rustfmt --toolchain "stable"
|
||||||
displayName: Install Rust
|
displayName: Install Rust
|
||||||
- bash: cargo build --all --all-features && RUSTFLAGS="-D warnings" cargo test --all --all-features
|
- bash: RUSTFLAGS="-D warnings" cargo test --all --all-features
|
||||||
condition: eq(variables['style'], 'unflagged')
|
condition: eq(variables['style'], 'unflagged')
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
- bash: cargo build --all --all-features && NUSHELL_ENABLE_ALL_FLAGS=1 RUSTFLAGS="-D warnings" cargo test --all --all-features
|
- bash: NUSHELL_ENABLE_ALL_FLAGS=1 RUSTFLAGS="-D warnings" cargo test --all --all-features
|
||||||
condition: eq(variables['style'], 'canary')
|
condition: eq(variables['style'], 'canary')
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
- bash: cargo fmt --all -- --check
|
- bash: cargo fmt --all -- --check
|
||||||
|
Loading…
Reference in New Issue
Block a user