зеркало из https://github.com/github/ruby.git
41 строка
1.3 KiB
YAML
41 строка
1.3 KiB
YAML
---
|
|
shallow_clone: true
|
|
platform:
|
|
- x64
|
|
environment:
|
|
ruby_version: "23-%Platform%"
|
|
zlib_version: "1.2.11"
|
|
matrix:
|
|
- vs: "120"
|
|
install:
|
|
- 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
|
|
- ruby --version
|
|
- 'cl'
|
|
- SET
|
|
- mkdir \usr\local\bin
|
|
- mkdir \usr\local\include
|
|
- mkdir \usr\local\lib
|
|
- 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
|
|
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
|
build_script:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- 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:\=/%
|
|
- nmake -l up
|
|
- nmake -l
|
|
- nmake install-nodoc
|
|
test_script:
|
|
- nmake -l "TESTOPTS=-v -q" btest
|
|
- nmake -l "TESTOPTS=-v -q" test-basic
|
|
matrix:
|
|
fast_finish: true
|