From 59a42c3dd34c8b3ff80375fbdc1643589e3b2aea Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 22 Jun 2019 23:25:09 -0700 Subject: [PATCH] more azure adjustments --- azure-pipelines.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7f636834f..853d7c86d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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