mirror of
https://github.com/3proxy/3proxy.git
synced 2026-04-06 21:30:12 +08:00
Update c-cpp.yml
This commit is contained in:
parent
6bbf528a20
commit
7fb1dc4f65
29
.github/workflows/c-cpp.yml
vendored
29
.github/workflows/c-cpp.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user