2016-01-22 09:09:19 +03:00
|
|
|
---
|
|
|
|
shallow_clone: true
|
2017-02-23 10:14:29 +03:00
|
|
|
platform:
|
|
|
|
- x64
|
2016-11-10 09:38:14 +03:00
|
|
|
environment:
|
2017-02-23 10:14:29 +03:00
|
|
|
ruby_version: "23-%Platform%"
|
2017-02-11 14:37:14 +03:00
|
|
|
zlib_version: "1.2.11"
|
2017-03-21 11:03:49 +03:00
|
|
|
UNICODE_VERSION: "9.0.0"
|
|
|
|
UNICODE_URL_BASE: "http://www.unicode.org/Public/%UNICODE_VERSION%/ucd/"
|
2017-02-23 10:14:29 +03:00
|
|
|
matrix:
|
|
|
|
- vs: "120"
|
2016-01-22 09:09:19 +03:00
|
|
|
install:
|
2017-02-23 10:14:29 +03: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 09:09:19 +03:00
|
|
|
- ruby --version
|
|
|
|
- 'cl'
|
|
|
|
- SET
|
2016-01-23 16:27:13 +03:00
|
|
|
- mkdir \usr\local\bin
|
|
|
|
- mkdir \usr\local\include
|
|
|
|
- mkdir \usr\local\lib
|
2017-03-21 11:03:49 +03:00
|
|
|
- set UNICODE_DATA_DIR=enc\unicode\data\%UNICODE_VERSION%\
|
|
|
|
- mkdir %UNICODE_DATA_DIR%
|
2017-02-11 14:37:14 +03: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 10:14:29 +03:00
|
|
|
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
2016-01-22 09:09:19 +03:00
|
|
|
build_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2017-02-23 10:14:29 +03: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:\=/%
|
2017-03-24 05:44:21 +03:00
|
|
|
- nmake -l touch-unicode-files
|
2017-03-24 06:42:28 +03:00
|
|
|
- nmake -l up UNICODE_FILES=.
|
2016-01-22 09:09:19 +03:00
|
|
|
- nmake -l
|
|
|
|
- nmake install-nodoc
|
|
|
|
test_script:
|
2016-09-24 15:51:14 +03:00
|
|
|
- nmake -l "TESTOPTS=-v -q" btest
|
|
|
|
- nmake -l "TESTOPTS=-v -q" test-basic
|
2017-02-23 10:14:29 +03:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|