From bef7f8c6d5fc39ee57ae0cf74540de500120de50 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Sun, 2 Feb 2020 18:18:50 -0800 Subject: [PATCH] Fix Windows CI --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e90aa5d..577d45b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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' )