1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

appveyor.yml: build zlib together

* appveyor.yml (install): extract zlib source under ext/zlib and
  build within the build process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-09-24 13:26:24 +00:00
parent 97a016ac8a
commit 021d3c7a9a

View file

@ -12,13 +12,7 @@ install:
- mkdir \usr\local\include
- mkdir \usr\local\lib
- appveyor DownloadFile http://zlib.net/zlib128.zip
- 7z x zlib128.zip
- cd zlib-1.2.8
- nmake -f win32/Makefile.msc
- copy zlib1.dll \usr\local\bin
- copy zlib.lib \usr\local\lib
- copy zconf.h \usr\local\include
- copy zlib.h \usr\local\include
- 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%