2019-05-03 18:08:14 +03:00
|
|
|
steps:
|
|
|
|
- script: |
|
|
|
|
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
|
|
|
rustup-init.exe -y
|
|
|
|
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
|
2019-05-03 19:19:32 +03:00
|
|
|
choco install -y llvm
|
2019-05-03 18:08:14 +03:00
|
|
|
displayName: Windows Install Rust
|
|
|
|
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
|
|
|
- script: |
|
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
|
|
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
|
|
|
displayName: macOS Install Rust
|
|
|
|
condition: eq( variables['Agent.OS'], 'Darwin' )
|
|
|
|
- script: |
|
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
|
|
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
|
|
|
displayName: Linux Install Rust and Dependencies
|
|
|
|
condition: eq( variables['Agent.OS'], 'Linux' )
|