Use newer libffi on windows-2022

This commit is contained in:
Kazuhiro NISHIYAMA 2021-08-25 15:57:02 +09:00 коммит произвёл Kazuhiro NISHIYAMA
Родитель b1f58d3e91
Коммит d96ba8c5c3
1 изменённых файлов: 10 добавлений и 2 удалений

10
.github/workflows/windows.yml поставляемый
Просмотреть файл

@ -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%