Blame appveyor.yml

Packit Service 64969d
# appveyor configuration
Packit Service 64969d
version: '{build}'
Packit Service 64969d
Packit Service 64969d
# Limit history cloned. This matches what travis-CI currently does.
Packit Service 64969d
clone_depth: 50
Packit Service 64969d
Packit Service 64969d
environment:
Packit Service 64969d
  matrix:
Packit Service 64969d
    - GENERATOR: Visual Studio 12 Win64
Packit Service 64969d
      BITS: 64
Packit Service 64969d
    - GENERATOR: Visual Studio 12
Packit Service 64969d
      BITS: 32
Packit Service 64969d
Packit Service 64969d
cache:
Packit Service 64969d
  - c:\deps -> appveyor.yml
Packit Service 64969d
  
Packit Service 64969d
# borrowed from https://github.com/FreeTDS/freetds
Packit Service 64969d
install:
Packit Service 64969d
  # xidel (xpath command line tool)
Packit Service 64969d
  - appveyor DownloadFile "https://downloads.sourceforge.net/project/videlibri/Xidel/Xidel 0.9.6/xidel-0.9.6.win32.zip"
Packit Service 64969d
  - 7z x xidel-0.9.6.win32.zip xidel.exe
Packit Service 64969d
  # detect version of Windows OpenSSL binaries published by the Shining Light Productions crew
Packit Service 64969d
  - 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
Packit Service 64969d
  - set /P OPENSSL_VER=< openssl_ver.txt
Packit Service 64969d
  # OpenSSL
Packit Service 64969d
  - appveyor DownloadFile https://slproweb.com/download/Win%BITS%OpenSSL-%OPENSSL_VER%.exe	
Packit Service 64969d
  - "Win%BITS%OpenSSL-%OPENSSL_VER%.exe /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART"
Packit Service 64969d
Packit Service 64969d
before_build:
Packit Service 64969d
  - cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .
Packit Service 64969d
Packit Service 64969d
build:
Packit Service 64969d
  project: ALL_BUILD.vcxproj
Packit Service 64969d
  verbosity: normal