2016-01-22 01:09:19 -05:00
|
|
|
---
|
|
|
|
shallow_clone: true
|
|
|
|
platform: x64
|
2016-11-10 01:38:14 -05:00
|
|
|
environment:
|
|
|
|
ruby_version: "23-x64"
|
2017-02-11 06:37:14 -05:00
|
|
|
zlib_version: "1.2.11"
|
2016-01-22 01:09:19 -05:00
|
|
|
install:
|
|
|
|
- SET
|
|
|
|
- '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64'
|
2016-11-10 01:38:14 -05:00
|
|
|
- SET PATH=\usr\local\bin;C:\Ruby%ruby_version%\bin;C:\Ruby%ruby_version%\Devkit\mingw\bin;%PATH%;C:\msys64\usr\bin
|
2016-01-22 01:09:19 -05:00
|
|
|
- ruby --version
|
|
|
|
- 'cl'
|
|
|
|
- SET
|
2016-01-23 08:27:13 -05:00
|
|
|
- mkdir \usr\local\bin
|
|
|
|
- mkdir \usr\local\include
|
|
|
|
- mkdir \usr\local\lib
|
2017-02-11 06:37:14 -05:00
|
|
|
- appveyor DownloadFile https://downloads.sourceforge.net/project/libpng/zlib/%zlib_version%/zlib%zlib_version:.=%.zip
|
|
|
|
- 7z x -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib%zlib_version:.=%.zip
|
2016-09-24 08:51:14 -04:00
|
|
|
- for %%I in (c:\OpenSSL-Win64\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
2016-01-22 01:09:19 -05:00
|
|
|
build_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2016-09-24 08:51:14 -04:00
|
|
|
- win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=c:/OpenSSL-Win64
|
2016-01-22 01:09:19 -05:00
|
|
|
- nmake -l up
|
|
|
|
- nmake -l
|
|
|
|
- nmake install-nodoc
|
|
|
|
test_script:
|
2016-09-24 08:51:14 -04:00
|
|
|
- nmake -l "TESTOPTS=-v -q" btest
|
|
|
|
- nmake -l "TESTOPTS=-v -q" test-basic
|