mirror of
https://github.com/3proxy/3proxy.git
synced 2026-04-07 05:40:12 +08:00
Update c-cpp.yml
This commit is contained in:
parent
ac1a667a50
commit
cbbe4d999e
8
.github/workflows/c-cpp.yml
vendored
8
.github/workflows/c-cpp.yml
vendored
@ -59,14 +59,10 @@ jobs:
|
|||||||
- name: make clean Windows
|
- name: make clean Windows
|
||||||
if: ${{ startsWith(matrix.target, 'windows') }}
|
if: ${{ startsWith(matrix.target, 'windows') }}
|
||||||
run: make -f Makefile.win clean
|
run: make -f Makefile.win clean
|
||||||
- name: Setup MSVC environment
|
|
||||||
if: ${{ startsWith(matrix.target, 'windows') }}
|
|
||||||
uses: microsoft/setup-msbuild@v3
|
|
||||||
with:
|
|
||||||
msbuild-architecture: x64
|
|
||||||
- name: make Windows MSVC
|
- name: make Windows MSVC
|
||||||
if: ${{ startsWith(matrix.target, 'windows') }}
|
if: ${{ startsWith(matrix.target, 'windows') }}
|
||||||
run: CMD /C 'call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\VC\Auxiliary\Build\vcvars64.bat" && nmake /F Makefile.msvc64'
|
shell: cmd
|
||||||
|
run: call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && nmake /F Makefile.msvc64
|
||||||
env:
|
env:
|
||||||
LIBS: '-L "c:/program files/openssl/lib/VC/x64/MT"'
|
LIBS: '-L "c:/program files/openssl/lib/VC/x64/MT"'
|
||||||
CFLAGS: '-I "c:/program files/openssl/include"'
|
CFLAGS: '-I "c:/program files/openssl/include"'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user