From 00e1694e0127c394934c9d4a5b797eba31a00ff8 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 10 Sep 2017 01:05:28 -0400 Subject: Enable clcache --- src/scripts/ci/appveyor.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/scripts/ci/appveyor.yml') 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 -- cgit v1.2.3