Skip to content

Commit

Permalink
Fix Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Feb 3, 2020
1 parent 782cc7d commit bef7f8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ stages:
displayName: Install rust
condition: ne( variables['Agent.OS'], 'Windows_NT' )
- script: |
set CARGO_HOME=%USERPROFILE%\.cargo
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: Windows install rust
condition: eq( variables['Agent.OS'], 'Windows_NT' )
Expand Down

0 comments on commit bef7f8c

Please sign in to comment.