[icinga-checkins] icinga.org: icinga2/feature/wip-appveyor: Cache OpenSSL

git at icinga.org git at icinga.org
Wed Nov 30 15:36:40 CET 2016


Module: icinga2
Branch: feature/wip-appveyor
Commit: 3f016244e22da08dc2cdc3d6e3831476f26813ac
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=3f016244e22da08dc2cdc3d6e3831476f26813ac

Author: Markus Frosch <markus.frosch at icinga.com>
Date:   Wed Nov 30 15:36:26 2016 +0100

Cache OpenSSL

---

 appveyor.yml |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 263d723..a6d642a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -37,10 +37,12 @@ environment:
     #  OPENSSL_VERSION: 1_0_2j
     #  OPENSSL_DIR: C:\OpenSSL
 
+cache:
+  - C:\OpenSSL
+
 install:
   # install OpenSSL
-  - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-${env:OPENSSL_VERSION}.exe"
-  - Win%BITS%OpenSSL-%OPENSSL_VERSION%.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL"
+  - ps: if (Test-Path C:\OpenSSL) {exit}; Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-${env:OPENSSL_VERSION}.exe"; .\Win${env:BITS}OpenSSL-${env:OPENSSL_VERSION}.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL"
   - ps: Start-FileDownload "https://curl.haxx.se/ca/cacert.pem" -FileName "C:\OpenSSL\cacert.pem"
   - ps: Start-FileDownload "http://downloads.sourceforge.net/project/boost/boost-binaries/${env:BOOST_VERSION}/boost_${env:BOOST_VERSIONX}-msvc-12.0-${env:BITS}.exe"
   - boost_%BOOST_VERSIONX%-msvc-12.0-%BITS%.exe /SILENT /DIR="C:\Boost"



More information about the icinga-checkins mailing list