aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-28 16:35:14 -0400
committerJack Lloyd <[email protected]>2017-09-28 16:37:19 -0400
commite5e50b25ad62dff1d9b6d55a477119dc1e1fb7bd (patch)
treeaf8c1eb7cbf0f8b9fad8ffbb4e86ec9f0b0f4a07
parentcf4f5ede383e5b0648984b5a6385c94be5b40be2 (diff)
Disable clcache on AppVeyor
AppVeyor's sharding of the build cache across VM providers means the effective cache hit rate is basically zero. So using clcache just slows down the build without much benefit.
-rw-r--r--src/scripts/ci/appveyor.yml13
-rw-r--r--src/scripts/ci/setup_appveyor.bat7
2 files changed, 1 insertions, 19 deletions
diff --git a/src/scripts/ci/appveyor.yml b/src/scripts/ci/appveyor.yml
index ff1e38598..26a977ad1 100644
--- a/src/scripts/ci/appveyor.yml
+++ b/src/scripts/ci/appveyor.yml
@@ -6,18 +6,11 @@
# 2. MSVC2017 static lib with with amalgamation
# 3. MSVC2017 with debug/sanitizers
# 4. MSVC2015 for Windows RT (TODO)
-#
-# Note: Avoid the AppVeyor settings `platform` and `configuration` since excluding
-# from the build matrix is not supported (https://github.com/appveyor/ci/issues/386)
clone_depth: 5
environment:
- CLCACHE_HARDLINK: 1
- CLCACHE_NODIRECT: 1
- APPVEYOR_CACHE_ENTRY_ZIP_ARGS: -t7z -m0=lzma -mx=9
-
matrix:
# 1
- MSVS: 2013
@@ -63,14 +56,10 @@ install:
- call src\scripts\ci\setup_appveyor.bat
build_script:
- - python src\scripts\ci_build.py --os=windows --cc=msvc --compiler-cache=clcache --without-python3 --make-tool=jom --cpu=%PLATFORM% %TARGET%
+ - python src\scripts\ci_build.py --os=windows --cc=msvc --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
-
-# Despite claim in docs, %HOME% not supported
-cache:
- - C:\Users\Appveyor\clcache -> src\scripts\ci\appveyor.yml
diff --git a/src/scripts/ci/setup_appveyor.bat b/src/scripts/ci/setup_appveyor.bat
index d8d3bff77..e3f081773 100644
--- a/src/scripts/ci/setup_appveyor.bat
+++ b/src/scripts/ci/setup_appveyor.bat
@@ -10,10 +10,3 @@ cl
appveyor DownloadFile http://download.qt.io/official_releases/jom/jom.zip -FileName jom.zip
7z e jom.zip
-
-nuget install -ExcludeVersion -Version 4.1.0 clcache
-
-set PATH=%PATH%;clcache\clcache-4.1.0
-
-rem We rely on LZMA compression to stay under appveyors cache limit
-clcache -M 536870912