ruby-changes:45529
From: nobu <ko1@a...>
Date: Sat, 11 Feb 2017 20:37:19 +0900 (JST)
Subject: [ruby-changes:45529] nobu:r57602 (trunk): appveyor.yml: extract zlib_version
nobu 2017-02-11 20:37:14 +0900 (Sat, 11 Feb 2017) New Revision: 57602 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57602 Log: appveyor.yml: extract zlib_version Modified files: trunk/appveyor.yml Index: appveyor.yml =================================================================== --- appveyor.yml (revision 57601) +++ appveyor.yml (revision 57602) @@ -3,6 +3,7 @@ shallow_clone: true https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L3 platform: x64 environment: ruby_version: "23-x64" + zlib_version: "1.2.11" install: - SET - '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64' @@ -13,8 +14,8 @@ install: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L14 - mkdir \usr\local\bin - mkdir \usr\local\include - mkdir \usr\local\lib - - appveyor DownloadFile https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib1211.zip - - 7z x -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib1211.zip + - 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 (c:\OpenSSL-Win64\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I build_script: - cd %APPVEYOR_BUILD_FOLDER% -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/