summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-11 11:37:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-11 11:37:14 +0000
commit238b9276decab770a18138ebc298fa7172f2a047 (patch)
tree143246e501e18ad8d9a3b98d7b4cc39250288572
parent0da70829f19a791116a9a164c42c38b2ba12c0b2 (diff)
appveyor.yml: extract zlib_version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--appveyor.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 5f5e1bb..dc35ae4 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,6 +3,7 @@ shallow_clone: true
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:
- 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%