Skip to content

Commit b3972a7

Browse files
committed
.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.
1 parent 9993278 commit b3972a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ jobs:
5252
- name: depends
5353
run: rake install_dependencies
5454

55+
# pkg-config is disabled because it can pick up the different OpenSSL installation
5556
# SSL_DIR is set as needed by MSP-Greg/setup-ruby-pkgs
5657
# only used with mswin
5758
- name: compile
58-
run: rake compile -- --enable-debug $env:SSL_DIR
59+
run: rake compile -- --enable-debug --without-pkg-config $env:SSL_DIR
5960

6061
- name: test
6162
run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1

0 commit comments

Comments
 (0)