diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a10c94d100..3b95e0619c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -30,7 +30,11 @@ jobs: ) - name: Install libraries with vcpkg run: | - vcpkg --triplet x64-windows install readline zlib + 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%