1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/appveyor.yml
hsbt 17802b55dd Use environment variable for system ruby detection on appveyor.
* Use ruby_version instead of 22-x64 and 21-x64
 * Use 23-x64 to build Ruby

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-10 06:38:14 +00:00

27 lines
949 B
YAML

---
shallow_clone: true
platform: x64
environment:
ruby_version: "23-x64"
install:
- SET
- '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64'
- SET PATH=\usr\local\bin;C:\Ruby%ruby_version%\bin;C:\Ruby%ruby_version%\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 http://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib128.zip
- 7z x -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib128.zip
- for %%I in (c:\OpenSSL-Win64\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=c:/OpenSSL-Win64
- nmake -l up
- nmake -l
- nmake install-nodoc
test_script:
- nmake -l "TESTOPTS=-v -q" btest
- nmake -l "TESTOPTS=-v -q" test-basic