summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsigiesec <simon.giesecke@btc-ag.com>2018-03-01 15:46:24 +0100
committerAlan Antonuk <alan.antonuk@gmail.com>2018-03-22 23:34:31 -0700
commita910a164c003f3de1d11b02c20bfc77c2c7f103a (patch)
treee5038091938ad1d56a3de13d6b31a19b4cd27382
parentb1261009ed7a4d07aab47ace474e631fd3e32d37 (diff)
downloadrabbitmq-c-a910a164c003f3de1d11b02c20bfc77c2c7f103a.tar.gz
ci: enable OpenSSL v1.1.0 on Appveyor
-rw-r--r--appveyor.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 7be4e8f..0ef27f9 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,6 +13,18 @@ environment:
cache:
- c:\deps -> appveyor.yml
+
+# borrowed from https://github.com/FreeTDS/freetds
+install:
+ # xidel (xpath command line tool)
+ - appveyor DownloadFile "https://downloads.sourceforge.net/project/videlibri/Xidel/Xidel 0.9.6/xidel-0.9.6.win32.zip"
+ - 7z x xidel-0.9.6.win32.zip xidel.exe
+ # detect version of Windows OpenSSL binaries published by the Shining Light Productions crew
+ - xidel https://slproweb.com/products/Win32OpenSSL.html --extract "(//td/a[starts-with(@href, '/download') and starts-with(text(), 'Win32 OpenSSL') and ends-with(text(), 'Light')])[1]/translate(substring-before(substring-after(text(), 'Win32 OpenSSL v'), ' Light'), '.', '_')" > openssl_ver.txt
+ - set /P OPENSSL_VER=< openssl_ver.txt
+ # OpenSSL
+ - appveyor DownloadFile https://slproweb.com/download/Win%BITS%OpenSSL-%OPENSSL_VER%.exe
+ - "Win%BITS%OpenSSL-%OPENSSL_VER%.exe /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART"
before_build:
- cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .