Update c-cpp.yml

This commit is contained in:
Vladimir Dubrovin 2026-04-04 13:16:34 +03:00
parent 4e8ea2d7f0
commit f616645a09

View File

@ -78,15 +78,16 @@ jobs:
nmake /F Makefile.msvc64 nmake /F Makefile.msvc64
nmake /F Makefile.msvc64 clean nmake /F Makefile.msvc64 clean
- name: make with CMake POSIX - name: make with CMake POSIX
if: ${{ !startsWith(matrix.target, 'windows') }} if: ${{ ! startsWith(matrix.target, 'windows') }}
run: mkdir build && cd build && cmake .. && make run: mkdir build && cd build && cmake .. && make
- name: make with CMake Win - name: make with CMake Win
if: ${{ startsWith(matrix.target, 'windows') }} if: ${{ startsWith(matrix.target, 'windows') }}
shell: cmd
run: | run: |
mkdir build mkdir build
cd build cd build
# set "LIB=%LIB%;c:/program files/openssl/lib/VC/x64/MT;c:/vcpkg/installed/x64-windows/lib" set "LIB=%LIB%;c:/program files/openssl/lib/VC/x64/MT;c:/vcpkg/installed/x64-windows/lib"
# set "INCLUDE=%INCLUDE%;c:/program files/openssl/include;c:/vcpkg/installed/x64-windows/include" set "INCLUDE=%INCLUDE%;c:/program files/openssl/include;c:/vcpkg/installed/x64-windows/include"
cmake -DCMAKE_C_COMPILER=clang .. cmake -DCMAKE_C_COMPILER=clang ..
dir dir
make make