Improved sccache usage

This commit is contained in:
Syrus 2019-08-10 17:57:35 -07:00
parent f83e4edf4f
commit af12f627ad
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -32,6 +32,9 @@ jobs:
imageName: 'vs2017-win2016'
rust_toolchain: stable
variables:
SCCACHE_DIR: $(Pipeline.Workspace)/.sccache
pool:
vmImage: $(imageName)