summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2023-06-20 03:18:13 +0900
committerKazuki Yamaguchi <k@rhe.jp>2023-06-20 04:19:45 +0900
commit9ff4399decef0036897d3cfb9ac2c710dea913ca (patch)
tree5d8c24b75719b8e5725464fe5e0d82a0fcb05776
parent179f0e535331f93b3f348b62953dbc9ce4346ebc (diff)
CI: work around vcpkg openssl issue with OpenSSL providers
Currently, the openssl package from vcpkg uses an incorrect, hard-coded default location for OpenSSL providers under C:\vcpkg\packages, which is supposed to be a temporary directory. Override it with the OPENSSL_MODULES environment variable as a temporary workaround.
-rw-r--r--.github/workflows/windows.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index f92bc86aa5..687dee06f4 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -44,6 +44,10 @@ jobs:
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
PATCH: C:\msys64\usr\bin\patch.exe
OS_VER: windows-${{ matrix.vs < 2022 && '2019' || matrix.vs }}
+ # FIXME: This is a workaround for the vcpkg's issue present as of openssl 3.1.1
+ # where OpenSSL's default modules directory is incorrectly set to C:\vcpkg\packages\openssl_x64-windows\bin
+ # cf. https://github.com/ruby/openssl/pull/635#issuecomment-1596833720
+ OPENSSL_MODULES: C:\vcpkg\installed\x64-windows\bin
steps:
- run: md build
working-directory: