From 71f35a78ecd3af5cca57292d1605569dbeadfc4b Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Mon, 30 Mar 2026 20:10:34 +0300 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 979c0ff..b1a0807 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -61,15 +61,17 @@ jobs: run: make -f Makefile.win clean - name: Setup MSVC environment if: ${{ startsWith(matrix.target, 'windows') }} - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v3 with: msbuild-version: latest + msbuild-architecture: x64 - name: make Windows MSVC if: ${{ startsWith(matrix.target, 'windows') }} - run: nmake /F Makefile.msvc64 + run: call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\BuildTools\VC\Auxiliary\Build\vcvars64.bat" && nmake /F Makefile.msvc64 env: LIBS: '-L "c:/program files/openssl/lib/VC/x64/MT"' CFLAGS: '-I "c:/program files/openssl/include"' - name: make clean Windows if: ${{ startsWith(matrix.target, 'windows') }} run: nmake /F Makefile.msvc64 clean +