Skip to content

Commit a910a16

Browse files
sigiesecalanxz
authored andcommitted
ci: enable OpenSSL v1.1.0 on Appveyor
1 parent b126100 commit a910a16

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

appveyor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ environment:
1313

1414
cache:
1515
- c:\deps -> appveyor.yml
16+
17+
# borrowed from https://github.com/FreeTDS/freetds
18+
install:
19+
# xidel (xpath command line tool)
20+
- appveyor DownloadFile "https://downloads.sourceforge.net/project/videlibri/Xidel/Xidel 0.9.6/xidel-0.9.6.win32.zip"
21+
- 7z x xidel-0.9.6.win32.zip xidel.exe
22+
# detect version of Windows OpenSSL binaries published by the Shining Light Productions crew
23+
- 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
24+
- set /P OPENSSL_VER=< openssl_ver.txt
25+
# OpenSSL
26+
- appveyor DownloadFile https://slproweb.com/download/Win%BITS%OpenSSL-%OPENSSL_VER%.exe
27+
- "Win%BITS%OpenSSL-%OPENSSL_VER%.exe /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART"
1628

1729
before_build:
1830
- cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .

0 commit comments

Comments
 (0)