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