diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-04 20:06:11 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-13 18:25:59 +0900 |
commit | 7a8ea2e49720b68323c5cf9899d31c3a9e24dd80 (patch) | |
tree | 48a6a6a0ff729d6c1857ce6af6b4b2046876858b | |
parent | b4fd0e0c73aac0cae23237743bbf7dc1b1315b6b (diff) | |
download | ruby-7a8ea2e49720b68323c5cf9899d31c3a9e24dd80.tar.gz |
[MSWin] Install OpenSSL with vcpkg
-rw-r--r-- | .github/workflows/windows.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cc12157234..63e1c57e95 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -64,7 +64,7 @@ jobs: ${{ runner.os }}-vcpkg-installed- - name: Install libraries with vcpkg run: | - vcpkg --triplet x64-windows install libffi libyaml readline zlib + vcpkg --triplet x64-windows install libffi libyaml openssl readline zlib - uses: actions/cache@v2 with: path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey @@ -76,7 +76,6 @@ jobs: run: | # Using Choco-Install for retries, but it doesn't detect failures properly # if you pass multiple package names in a single command. - Choco-Install -PackageName openssl Choco-Install -PackageName winflexbison3 shell: pwsh - name: git config @@ -109,11 +108,13 @@ jobs: for %%I in (C:\vcpkg\installed\x64-windows\bin\*.dll) do ( if not %%~nI == readline mklink %%~nxI %%I ) + for %%I in (libcrypto-1_1-x64 libssl-1_1-x64) do ( + ren c:\Windows\System32\%%I.dll %%I.dll_ + ) - name: Configure run: >- ../src/win32/configure.bat --disable-install-doc --with-opt-dir=C:/vcpkg/installed/x64-windows - --with-openssl-dir="C:/Program Files/OpenSSL-Win64" - run: nmake incs - run: nmake extract-extlibs - run: nmake |