Skip to content

Commit

Permalink
Merge pull request #1670 from rusoto/fix-pipelines-windows-codegen
Browse files Browse the repository at this point in the history
Fix Windows codegen job.
  • Loading branch information
iliana committed Jan 29, 2020
2 parents 901939f + cb09a38 commit c5466d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion azure-pipelines.yml
Expand Up @@ -193,6 +193,7 @@ jobs:
set -e
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
rustup default beta
displayName: 'Install Rust'
- script: rustc --version
displayName: 'print rust version'
Expand All @@ -213,6 +214,7 @@ jobs:
set -e
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
rustup default beta
displayName: 'Install Rust'
- script: rustc --version
displayName: 'print rust version'
Expand All @@ -231,6 +233,7 @@ jobs:
set -e
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
rustup default nightly
displayName: 'Install Rust'
- script: rustc --version
displayName: 'print rust version'
Expand All @@ -253,6 +256,7 @@ jobs:
set -e
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
rustup default nightly
displayName: 'Install Rust'
- script: rustc --version
displayName: 'print rust version'
Expand Down Expand Up @@ -292,7 +296,7 @@ jobs:
fetchDepth: 5
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-toolchain stable
rustup-init.exe -y --default-toolchain stable --default-host x86_64-pc-windows-msvc
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: 'Install Rust'
Expand Down

0 comments on commit c5466d6

Please sign in to comment.