зеркало из https://github.com/github/ruby.git
Use newer libffi on windows-2022
This commit is contained in:
Родитель
b1f58d3e91
Коммит
d96ba8c5c3
|
@ -30,7 +30,11 @@ jobs:
|
|||
)
|
||||
- name: Install libraries with vcpkg
|
||||
run: |
|
||||
IF ${{ matrix.os }}==windows-2019 (
|
||||
vcpkg --triplet x64-windows install readline zlib
|
||||
) ELSE (
|
||||
vcpkg --triplet x64-windows install readline zlib libffi
|
||||
)
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
||||
|
@ -57,7 +61,11 @@ jobs:
|
|||
- name: Configure
|
||||
run: |
|
||||
call %VCVARS%
|
||||
../src/win32/configure.bat --disable-install-doc --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows --with-openssl-dir="C:/Program Files/OpenSSL-Win64"
|
||||
IF ${{ matrix.os }}==windows-2019 (
|
||||
..\src\win32\configure.bat --disable-install-doc --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows --with-openssl-dir="C:/Program Files/OpenSSL-Win64"
|
||||
) ELSE (
|
||||
..\src\win32\configure.bat --disable-install-doc --with-opt-dir=C:/vcpkg/installed/x64-windows --with-openssl-dir="C:/Program Files/OpenSSL-Win64"
|
||||
)
|
||||
- name: nmake
|
||||
run: |
|
||||
call %VCVARS%
|
||||
|
|
Загрузка…
Ссылка в новой задаче