Browse Source

Still install rustup on older Windows images...

urgh
Alex Crichton 6 years ago
parent
commit
06528a964d
  1. 2
      ci/azure-install-rust.yml

2
ci/azure-install-rust.yml

@ -16,7 +16,9 @@ steps:
condition: ne( variables['Agent.OS'], 'Windows_NT' )
- script: |
IF "%RUSTUP_HOME%"=="" (curl -sSf -o rustup-init.exe https://win.rustup.rs)
IF "%TOOLCHAIN%"=="" (SET TOOLCHAIN=stable-%TARGET%)
IF "%RUSTUP_HOME%"=="" (rustup-init.exe -y --default-toolchain %TOOLCHAIN%)
rustup update --no-self-update %TOOLCHAIN%
rustup default %TOOLCHAIN%
displayName: Install rust (windows)

Loading…
Cancel
Save