Patch by MSP-Greg 1) Adds current MSYS2/MinGW package to mingw build (as of 2018-Oct, 1.1.1) 2) Outputs OpenSSL version info at end of each build diff --git a/appveyor.yml b/appveyor.yml index 719f425f23..d0d8fadff1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -96,6 +96,9 @@ for: # separately execute tests that may crash worker without -j. - nmake -l "TESTOPTS=-q --subprocess-timeout-scale=1.5" test-all TESTS="../test/win32ole ../test/ruby/test_syntax.rb ../test/open-uri/test_open-uri.rb" - nmake -l test-spec + on_finish: + - cd %APPVEYOR_BUILD_FOLDER% + - \usr\bin\ruby.exe -ropenssl -e "puts '', 'Build ' + OpenSSL::OPENSSL_VERSION, 'Runtime ' + OpenSSL::OPENSSL_LIBRARY_VERSION" - matrix: only: @@ -121,7 +124,11 @@ for: # always update database - pacman -Sy - pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-toolchain - - pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-gdbm mingw-w64-x86_64-gmp mingw-w64-x86_64-libffi mingw-w64-x86_64-ncurses mingw-w64-x86_64-readline mingw-w64-x86_64-zlib + - pacman -Rdd --noconfirm mingw-w64-x86_64-openssl + - pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-gdbm mingw-w64-x86_64-gmp mingw-w64-x86_64-libffi mingw-w64-x86_64-ncurses mingw-w64-x86_64-openssl mingw-w64-x86_64-readline mingw-w64-x86_64-zlib + # Rename OpenSSL-Win64 dll files in C:\Windows\System32 + - ren C:\Windows\System32\libssl-1_1-x64.dll libssl-1_1-x64.dll_ + - ren C:\Windows\System32\libcrypto-1_1-x64.dll libcrypto-1_1-x64.dll_ - cd %APPVEYOR_BUILD_FOLDER% - set CFLAGS=-march=%MSYS2_ARCH:_=-% -mtune=generic -O3 -pipe - set CXXFLAGS=%CFLAGS% @@ -137,3 +144,6 @@ for: - mingw32-make test - mingw32-make test-all TESTOPTS="-j %JOBS% --retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5" RUBY_FORCE_TEST_JIT=1 V=1 - mingw32-make test-spec MSPECOPT=-j + on_finish: + - cd %APPVEYOR_BUILD_FOLDER% + - ..\install\bin\ruby.exe -ropenssl -e "puts '', 'Build ' + OpenSSL::OPENSSL_VERSION, 'Runtime ' + OpenSSL::OPENSSL_LIBRARY_VERSION"