aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-02-18 16:33:10 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-02-18 17:20:02 +0900
commitb3972a7d597e182e67cd6d1bcf6237cfe2275dc1 (patch)
treeadaedd2e47e89db0ea1578b93971718e2e1fe9e9
parent9993278677810214801566683e4efa4846b558c0 (diff)
downloadruby-openssl-b3972a7d597e182e67cd6d1bcf6237cfe2275dc1.tar.gz
.github/workflows: disable pkg-config on Windows tests
Let ext/openssl/extconf.rb find the correct OpenSSL installation from the default include/library paths. Since some time ago, the test environment contains another OpenSSL installation and pkg-config from Mingw-w64. However, as pkg-config is not available in RubyInstaller (Ruby 2.3), simply invoking pkg-config command from our ext/openssl/extconf.rb ends up with picking up Mingw-w64's OpenSSL, which is incompatible with RI.
-rw-r--r--.github/workflows/test.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a4a41cbd..20fbd00d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -52,10 +52,11 @@ jobs:
- name: depends
run: rake install_dependencies
+ # pkg-config is disabled because it can pick up the different OpenSSL installation
# SSL_DIR is set as needed by MSP-Greg/setup-ruby-pkgs
# only used with mswin
- name: compile
- run: rake compile -- --enable-debug $env:SSL_DIR
+ run: rake compile -- --enable-debug --without-pkg-config $env:SSL_DIR
- name: test
run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1