File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change 11---
22clone_depth : 10
33install :
4- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
5- - appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma
6- - 7z e openssl-1.0.2j-x64-windows.tar.lzma
7- - 7z x -y -oC:\Ruby%ruby_version% openssl-1.0.2j-x64-windows.tar
8- - ruby -S rake install_dependencies
4+ - ps : |
5+ $Env:PATH = "C:\Ruby${Env:ruby_version}\bin;${Env:PATH}"
6+ if ($Env:ruby_version -match "^23" ) {
7+ # RubyInstaller; download OpenSSL headers from OpenKnapsack Project
8+ $Env:openssl_dir = "C:\Ruby${Env:ruby_version}"
9+ appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma
10+ 7z e openssl-1.0.2j-x64-windows.tar.lzma
11+ 7z x -y -oC:\Ruby${Env:ruby_version} openssl-1.0.2j-x64-windows.tar
12+ } else {
13+ # RubyInstaller2; openssl package seems to be installed already
14+ $Env:openssl_dir = "C:\msys64\mingw64"
15+ }
16+ - ruby -v
17+ - openssl version
18+ - rake install_dependencies
919build_script :
10- - rake -rdevkit compile -- --with-openssl-dir=C:\Ruby%ruby_version %
20+ - rake -rdevkit compile -- --with-openssl-dir=%openssl_dir %
1121test_script :
1222 - rake test
1323deploy : off
1424environment :
1525 matrix :
16- - ruby_version : " 23-x64"
26+ - ruby_version : " 23-x64" # RI
27+ - ruby_version : " 24-x64" # RI2
You can’t perform that action at this time.
0 commit comments