Try to cache appveyor dependencies.

This commit is contained in:
Matthieu Gautier
2018-10-31 15:42:15 +01:00
parent 00b7e0f1f8
commit c47bad8c74
3 changed files with 30 additions and 10 deletions

11
appveyor/create_cache.sh Normal file
View File

@ -0,0 +1,11 @@
set -e
ARCHIVE_NAME="deps_windows_windows.zip"
SSH_KEY=C:\\projects\\kiwix-build\\appveyor\\nightlybot_id_key
7z a -tzip $ARCHIVE_NAME $MINGW64_EXTRA_DIR
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${ARCHIVE_NAME} \
nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci

View File

@ -0,0 +1,4 @@
REM ========================================================
REM Setup from cache
curl -fsSL -O http://tmp.kiwix.org/ci/deps_windows_windows.zip || exit /b 1
7z x deps_windows_windows.zip -oc: -aoa || exit /b 1