mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Try to cache appveyor dependencies.
This commit is contained in:
11
appveyor/create_cache.sh
Normal file
11
appveyor/create_cache.sh
Normal 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
|
||||
|
4
appveyor/setup_from_cache.cmd
Normal file
4
appveyor/setup_from_cache.cmd
Normal 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
|
Reference in New Issue
Block a user