diff options
-rw-r--r-- | appveyor.yml | 12 |
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%" . |