1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00

more azure adjustments

This commit is contained in:
Wez Furlong 2019-06-22 23:25:09 -07:00
parent 26e8635076
commit 59a42c3dd3

View File

@ -24,16 +24,19 @@ steps:
git submodule update --init
displayName: Update submodules
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -yv --default-toolchain $RUSTUP_TOOLCHAIN
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
echo "##vso[task.setvariable variable=PATH;]$HOME/.cargo/bin:$PATH"
displayName: Install rust
condition: ne( variables['Agent.OS'], 'Windows_NT' )
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -yv --default-toolchain %RUSTUP_TOOLCHAIN%
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
echo "##vso[task.setvariable variable=PATH;]%USERPROFILE%\.cargo\bin;%PATH%"
displayName: Windows install rust
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
rustup update
displayName: Update rust toolchains
- script: |
rustc -vV
cargo -vV