From 42580ffb28ce440202392a68b5e5d86340c3c266 Mon Sep 17 00:00:00 2001 From: qnfm <104289862+qnfm@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:49:58 +0100 Subject: [PATCH] Update windows.yml --- .github/workflows/windows.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 83af01a6..dd6640f5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -239,9 +239,10 @@ jobs: with: arch: ${{ matrix.platform.arch }} - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1 + uses: microsoft/setup-msbuild@v1.3 with: msbuild-architecture: ${{matrix.msarch}} + vs-version: '[16.4,)' - name: Setup nasm for OpenSSL build uses: ilammy/setup-nasm@v1 if: steps.cache-openssl32.outputs.cache-hit != 'true' @@ -263,8 +264,8 @@ jobs: cd build cmake -G "Visual Studio 16 2019" -DCMAKE_C_FLAGS="/D_WINDOWS /Wv:18 /wd5105" -A ${{matrix.msarch}} -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX="c:\liboqs" ${{ matrix.platform.oqsconfig }} -DOQS_DIST_BUILD=ON .. cd .. - cmake --build build - #msbuild -noLogo -v:quiet ALL_BUILD.vcxproj -p:Configuration=Release + #cmake --build build + msbuild -noLogo -v:quiet ALL_BUILD.vcxproj -p:Configuration=Release msbuild -noLogo -v:quiet INSTALL.vcxproj -p:Configuration=Release working-directory: liboqs - name: prepare the OpenSSL build directory