diff options
author | Jack Lloyd <[email protected]> | 2017-09-10 01:05:28 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-10 08:07:06 -0400 |
commit | 00e1694e0127c394934c9d4a5b797eba31a00ff8 (patch) | |
tree | c5e9b636ed1289b7227951e8e81ed42f208dc3ff /src/scripts/ci/appveyor.yml | |
parent | e6c06631a9e8ecbe00f9f6590c81475d42594b72 (diff) |
Enable clcache
Diffstat (limited to 'src/scripts/ci/appveyor.yml')
-rw-r--r-- | src/scripts/ci/appveyor.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/scripts/ci/appveyor.yml b/src/scripts/ci/appveyor.yml index 09c38f42b..152694b68 100644 --- a/src/scripts/ci/appveyor.yml +++ b/src/scripts/ci/appveyor.yml @@ -14,6 +14,10 @@ clone_depth: 5 environment: + CLCACHE_HARDLINK: 1 + CLCACHE_NODIRECT: 1 + APPVEYOR_CACHE_ENTRY_ZIP_ARGS: -t7z -m0=lzma -mx=9 + matrix: # 1 - MSVS: 2013 @@ -59,11 +63,15 @@ install: - call src\scripts\ci\setup_appveyor.bat build_script: - - python src\scripts\ci_build.py --os=windows --cc=msvc --without-python3 --make-tool=jom --cpu=%PLATFORM% %TARGET% + - python src\scripts\ci_build.py --os=windows --cc=msvc --compiler-cache=clcache --without-python3 --make-tool=jom --cpu=%PLATFORM% %TARGET% # whitelist branches to avoid testing feature branches twice (as branch and as pull request) branches: only: - master - release-2 + - clcache +# Despite claim in docs, %HOME% not supported +cache: + - C:\Users\Appveyor\clcache -> src\scripts\ci\appveyor.yml |