mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[MSWin] Install OpenSSL with vcpkg
This commit is contained in:
parent
b4fd0e0c73
commit
7a8ea2e497
1 changed files with 4 additions and 3 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -64,7 +64,7 @@ jobs:
|
||||||
${{ runner.os }}-vcpkg-installed-
|
${{ runner.os }}-vcpkg-installed-
|
||||||
- name: Install libraries with vcpkg
|
- name: Install libraries with vcpkg
|
||||||
run: |
|
run: |
|
||||||
vcpkg --triplet x64-windows install libffi libyaml readline zlib
|
vcpkg --triplet x64-windows install libffi libyaml openssl readline zlib
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
||||||
|
@ -76,7 +76,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Using Choco-Install for retries, but it doesn't detect failures properly
|
# Using Choco-Install for retries, but it doesn't detect failures properly
|
||||||
# if you pass multiple package names in a single command.
|
# if you pass multiple package names in a single command.
|
||||||
Choco-Install -PackageName openssl
|
|
||||||
Choco-Install -PackageName winflexbison3
|
Choco-Install -PackageName winflexbison3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
- name: git config
|
- name: git config
|
||||||
|
@ -109,11 +108,13 @@ jobs:
|
||||||
for %%I in (C:\vcpkg\installed\x64-windows\bin\*.dll) do (
|
for %%I in (C:\vcpkg\installed\x64-windows\bin\*.dll) do (
|
||||||
if not %%~nI == readline mklink %%~nxI %%I
|
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
|
- name: Configure
|
||||||
run: >-
|
run: >-
|
||||||
../src/win32/configure.bat --disable-install-doc
|
../src/win32/configure.bat --disable-install-doc
|
||||||
--with-opt-dir=C:/vcpkg/installed/x64-windows
|
--with-opt-dir=C:/vcpkg/installed/x64-windows
|
||||||
--with-openssl-dir="C:/Program Files/OpenSSL-Win64"
|
|
||||||
- run: nmake incs
|
- run: nmake incs
|
||||||
- run: nmake extract-extlibs
|
- run: nmake extract-extlibs
|
||||||
- run: nmake
|
- run: nmake
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue