2016-01-22 01:09:19 -05:00
|
|
|
---
|
|
|
|
shallow_clone: true
|
2017-02-23 02:14:29 -05:00
|
|
|
platform:
|
|
|
|
- x64
|
2016-11-10 01:38:14 -05:00
|
|
|
environment:
|
2017-02-23 02:14:29 -05:00
|
|
|
ruby_version: "23-%Platform%"
|
2017-02-11 06:37:14 -05:00
|
|
|
zlib_version: "1.2.11"
|
2017-02-23 02:14:29 -05:00
|
|
|
matrix:
|
|
|
|
- vs: "120"
|
2016-01-22 01:09:19 -05:00
|
|
|
install:
|
2017-02-23 02:14:29 -05:00
|
|
|
- SET BITS=%Platform:x86=32%
|
|
|
|
- SET BITS=%BITS:x=%
|
|
|
|
- SET OPENSSL_DIR=c:\OpenSSL-Win%BITS%
|
|
|
|
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
|
|
|
|
- SET vcvars
|
|
|
|
- '"%vcvars%" %Platform:x64=amd64%'
|
|
|
|
- SET ruby_path=C:\Ruby%ruby_version:-x86=%
|
|
|
|
- SET PATH=\usr\local\bin;%ruby_path%\bin;%ruby_path%\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
|
2017-02-23 02:14:29 -05:00
|
|
|
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
2016-01-22 01:09:19 -05:00
|
|
|
build_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2017-02-23 02:14:29 -05:00
|
|
|
- mkdir %Platform%-mswin_%vs%
|
|
|
|
- cd %Platform%-mswin_%vs%
|
|
|
|
- ..\win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=%OPENSSL_DIR:\=/%
|
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
|
2017-02-23 02:14:29 -05:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|