Skip to content

Commit

Permalink
remove Windows NT condition
Browse files Browse the repository at this point in the history
  • Loading branch information
yangm2 committed Aug 15, 2024
1 parent e5e38cb commit 5ee13a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ stages:
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: Install rust
condition: ne( variables['Agent.OS'], 'Windows_NT' )
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-host %target% --default-toolchain %RUSTUP_TOOLCHAIN%
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: Windows install rust
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: cargo build --all --release
displayName: Cargo build
- stage: qualify
Expand Down

0 comments on commit 5ee13a2

Please sign in to comment.