Skip to content

Commit

Permalink
Improved sccache usage
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Aug 11, 2019
1 parent f83e4ed commit af12f62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .azure/install-sccache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ steps:
displayName: sccache version
- bash: |
mkdir -p $SCCACHE_DIR
set -ex
echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]sccache"
SCCACHE_ERROR_LOG=`pwd`/sccache.log RUST_LOG=debug sccache --start-server
Expand Down
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
imageName: 'vs2017-win2016'
rust_toolchain: stable

variables:
SCCACHE_DIR: $(Pipeline.Workspace)/.sccache

pool:
vmImage: $(imageName)

Expand Down

0 comments on commit af12f62

Please sign in to comment.