mirror of https://github.com/rwf2/Rocket.git
Fix Windows CI by forcing 64-bit rustup installation.
This commit is contained in:
parent
7c1b8dc9ad
commit
1ae3e68087
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- ${{ if eq(parameters.name, 'Windows') }}:
|
- ${{ if eq(parameters.name, 'Windows') }}:
|
||||||
- script: |
|
- script: |
|
||||||
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||||
rustup-init.exe -y --default-toolchain $(rust_version)
|
rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain $(rust_version)
|
||||||
echo ##vso[task.setvariable variable=PATH]%PATH%;%USERPROFILE%\.cargo\bin
|
echo ##vso[task.setvariable variable=PATH]%PATH%;%USERPROFILE%\.cargo\bin
|
||||||
displayName: 'Install Rust ($(rust_version))'
|
displayName: 'Install Rust ($(rust_version))'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue