Update c-cpp.yml

This commit is contained in:
Vladimir Dubrovin 2026-03-31 10:43:13 +03:00
parent 6bbf528a20
commit 7fb1dc4f65

View File

@ -59,15 +59,20 @@ jobs:
- name: make clean Windows
if: ${{ startsWith(matrix.target, 'windows') }}
run: make -f Makefile.win clean
# - name: make Windows MSVC
# if: ${{ startsWith(matrix.target, 'windows') }}
# shell: cmd
# run: |
# call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\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
- name: Add msbuild to PATH
if: ${{ startsWith(matrix.target, 'windows') }}
uses: microsoft/setup-msbuild@v3
- name: make Windows MSVC
if: ${{ startsWith(matrix.target, 'windows') }}
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
D:
cd "D:/a/3proxy/3proxy"
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