diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-07-11 13:33:13 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-07-11 15:26:42 +0900 |
commit | 26f928baa819cf06a3efd435a8ec28731d1da3f8 (patch) | |
tree | a28d2e118b095548c6d8305d223c9e3c9800ba11 | |
parent | 967c31178dcdb5336f793e00b892492ac9b7573e (diff) | |
download | ruby-openssl-ky/appveyor-update-201707.tar.gz |
appveyor.yml: test against Ruby 2.4ky/appveyor-update-201707
-rw-r--r-- | appveyor.yml | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/appveyor.yml b/appveyor.yml index bd72cede..70ccc40d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,16 +1,27 @@ --- clone_depth: 10 install: - - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - - appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma - - 7z e openssl-1.0.2j-x64-windows.tar.lzma - - 7z x -y -oC:\Ruby%ruby_version% openssl-1.0.2j-x64-windows.tar - - ruby -S rake install_dependencies + - ps: | + $Env:PATH = "C:\Ruby${Env:ruby_version}\bin;${Env:PATH}" + if ($Env:ruby_version -match "^23" ) { + # RubyInstaller; download OpenSSL headers from OpenKnapsack Project + $Env:openssl_dir = "C:\Ruby${Env:ruby_version}" + appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma + 7z e openssl-1.0.2j-x64-windows.tar.lzma + 7z x -y -oC:\Ruby${Env:ruby_version} openssl-1.0.2j-x64-windows.tar + } else { + # RubyInstaller2; openssl package seems to be installed already + $Env:openssl_dir = "C:\msys64\mingw64" + } + - ruby -v + - openssl version + - rake install_dependencies build_script: - - rake -rdevkit compile -- --with-openssl-dir=C:\Ruby%ruby_version% + - rake -rdevkit compile -- --with-openssl-dir=%openssl_dir% test_script: - rake test deploy: off environment: matrix: - - ruby_version: "23-x64" + - ruby_version: "23-x64" # RI + - ruby_version: "24-x64" # RI2 |