diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index 70ff5e4af0..8dcf6abb8f 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -42,10 +42,10 @@ steps: echo "##vso[task.prependpath]$HOME/.cargo/bin" rustup component add rustfmt --toolchain "stable" displayName: Install Rust - - bash: RUSTFLAGS="-D warnings" cargo test --all --all-features + - bash: cargo build --all --all-features && RUSTFLAGS="-D warnings" cargo test --all --all-features condition: eq(variables['style'], 'unflagged') displayName: Run tests - - bash: NUSHELL_ENABLE_ALL_FLAGS=1 RUSTFLAGS="-D warnings" cargo test --all --all-features + - bash: cargo build --all --all-features && NUSHELL_ENABLE_ALL_FLAGS=1 RUSTFLAGS="-D warnings" cargo test --all --all-features condition: eq(variables['style'], 'canary') displayName: Run tests - bash: cargo fmt --all -- --check