fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
956 B21 linesraw
1steps:
2
3- bash: |
4    set -e
5    curl -fo /usr/local/bin/sccache https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/2018-04-02-sccache-x86_64-apple-darwin
6    chmod +x /usr/local/bin/sccache
7  displayName: Install sccache (OSX)
8  condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
9
10- script: |
11    md sccache
12    powershell -Command "$ProgressPreference = 'SilentlyContinue'; iwr -outf sccache\sccache.exe https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/2018-04-26-sccache-x86_64-pc-windows-msvc"
13    echo ##vso[task.prependpath]%CD%\sccache
14  displayName: Install sccache (Windows)
15  condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
16
17# Note that we don't install sccache on Linux since it's installed elsewhere
18# through all the containers.
19#
20# FIXME: we should probably install sccache outside the containers and then
21# mount it inside the containers so we can centralize all installation here.