summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2015-11-29 22:17:34 -0800
committerAlan Antonuk <alan.antonuk@gmail.com>2015-11-29 22:32:23 -0800
commitfde06a20a0c5a89cf6c7d300a725ce27d53728cc (patch)
treec1c751a21bd602f8479f432350090530fecef8b5
parentd8851bd7af1af4508269e766442ae638334e4266 (diff)
downloadrabbitmq-c-cache_openssl.tar.gz
CI: Cache OpenSSL binary on AppVeyorcache_openssl
-rw-r--r--appveyor.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c88b387..900b2cd 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -11,9 +11,17 @@ environment:
- GENERATOR: Visual Studio 12
BITS: 32
+cache:
+ - deps
+
install:
- - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2d.exe"
- - Win%BITS%OpenSSL-1_0_2d.exe /silent /verysilent /sp- /suppressmsgboxes /dir="c:\OpenSSL"
+ - ps: $file = "deps\Win${env:BITS}OpenSSL-1_0_2d.exe"
+ - ps: $exists = Test-Path $file
+ - ps: >-
+ If ($exists -ne $True) {
+ Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2d.exe" -FileName $file
+ }
+ - deps\Win%BITS%OpenSSL-1_0_2d.exe /silent /verysilent /sp- /suppressmsgboxes /dir="c:\OpenSSL"
before_build:
- cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .