Blame appveyor.yml

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