summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-10 20:14:35 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-13 17:12:11 +0000
commit9dac8d219f6120e72e6b2ca8d1d9c46615dfe9cc (patch)
tree6e3dad4a9e921005bfe4829cea373d61076e95d9
parentuse SYSTEMROOT in msys2checkdeps.py as location of the Windows directory in a... (diff)
downloadinkscape-9dac8d219f6120e72e6b2ca8d1d9c46615dfe9cc.tar.gz
inkscape-9dac8d219f6120e72e6b2ca8d1d9c46615dfe9cc.zip
CI: Save AppVeyor cache if the compilation succeeds (even if installation or tests might fail).
This should speed up builds in scenarios where e.g. an MSYS2 update broke the installation while the build itself still works.
-rw-r--r--appveyor.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/appveyor.sh b/appveyor.sh
index 70b983f09..85776eb8a 100644
--- a/appveyor.sh
+++ b/appveyor.sh
@@ -47,6 +47,7 @@ message "--- Compiling Inkscape"
ccache --zero-stats
ninja || error "compilation failed"
ccache --show-stats
+appveyor SetVariable -Name APPVEYOR_SAVE_CACHE_ON_ERROR -Value true # build succeeded so it's safe to save the cache
# install
message "--- Installing the project"