summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: e01f673022cd6f3ab43093b875b9ecbbbacc608e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
shallow_clone: true
platform: x64
install:
  - SET
  - '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64'
  - SET PATH=\usr\local\bin;C:\Ruby22-x64\bin;C:\Ruby21-x64\Devkit\mingw\bin;%PATH%;C:\msys64\usr\bin
  - ruby --version
  - 'cl'
  - SET
  - mkdir \usr\local\bin
  - mkdir \usr\local\include
  - mkdir \usr\local\lib
  - ps: Start-FileDownload 'http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.2.5-windows.zip'
  - 7z x libressl-2.2.5-windows.zip
  - copy libressl-2.2.5-windows\x64\libcrypto-35.lib \usr\local\lib\crypto.lib
  - copy libressl-2.2.5-windows\x64\libssl-35.lib    \usr\local\lib\ssl.lib
  - copy libressl-2.2.5-windows\x64\libcrypto-35.dll \usr\local\bin
  - copy libressl-2.2.5-windows\x64\libssl-35.dll    \usr\local\bin
  - xcopy /e libressl-2.2.5-windows\include          \usr\local\include
  - ps: Start-FileDownload 'http://zlib.net/zlib128.zip'
  - 7z x zlib128.zip
  - cd zlib-1.2.8
  - nmake -f win32/Makefile.msc
  - copy zlib1.dll \usr\local\bin
  - copy zlib.lib  \usr\local\lib
  - copy zconf.h   \usr\local\include
  - copy zlib.h    \usr\local\include
build_script:
  - cd %APPVEYOR_BUILD_FOLDER%
  - win32\configure.bat --without-ext=+,dbm,gdbm,readline,tk* --with-opt-dir=/usr/local
  - nmake -l up
  - nmake -l
  - nmake install-nodoc
test_script:
  - nmake -l "OPTS=-v -q" btest
  - nmake -l "OPTS=-v -q" test-basic