]> git.lizzy.rs Git - rust.git/blob - .azure-pipelines/steps/install-sccache.yml
Remove GlobalArenas and use Arena instead
[rust.git] / .azure-pipelines / steps / install-sccache.yml
1 steps:
2
3 - bash: |
4     set -e
5     curl -fo /usr/local/bin/sccache https://rust-lang-ci2.s3.amazonaws.com/rust-ci-mirror/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 "iwr -outf sccache\sccache.exe https://rust-lang-ci2.s3.amazonaws.com/rust-ci-mirror/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.