diff options
-rw-r--r-- | azure-pipelines.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cca8c73..7c2a1d7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,7 +18,7 @@ strategy: imageName: 'ubuntu-16.04' target: 'x86_64-unknown-linux-gnu' rustup_toolchain: stable - + pool: vmImage: $(imageName) @@ -30,7 +30,7 @@ steps: condition: ne( variables['Agent.OS'], 'Windows_NT' ) - script: | curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN% + rustup-init.exe -y --default-host %target% --default-toolchain %RUSTUP_TOOLCHAIN% echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin" displayName: Windows install rust condition: eq( variables['Agent.OS'], 'Windows_NT' ) @@ -85,4 +85,4 @@ steps: assets: '$(Build.ArtifactStagingDirectory)/mft_dump-$(build.my_tag)-$(TARGET).tar.gz' title: '$(build.my_tag) - $(build.date)' assetUploadMode: 'replace' - addChangeLog: false
\ No newline at end of file + addChangeLog: false |