File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 11name : Build (Ubuntu)
22on :
33 push :
4+ pull_request :
45jobs :
56 build-project :
67 name : Build Project
1112
1213 - name : Build Project
131415+ with :
16+ options : |
17+ CMAKE_BUILD_TYPE=Release
18+ build-args : |
19+ --config Release
1420
1521 - name : Deploy Project
1622 uses : actions/upload-artifact@v4
1723 with :
18- name : run-cppcheck
24+ name : run-cppcheck-linux-x86_64
1925 path : build/run-cppcheck
Original file line number Diff line number Diff line change 11name : Build (Windows)
22on :
33 push :
4+ pull_request :
45jobs :
56 build-project :
67 name : Build Project
1112
1213 - name : Build Project
131415+ with :
16+ options : |
17+ CMAKE_BUILD_TYPE=Release
18+ build-args : |
19+ --config Release
1420
1521 - name : Deploy Project
1622 uses : actions/upload-artifact@v4
1723 with :
1824 name : run-cppcheck-windows
19- path : build/ run-cppcheck.exe
25+ path : build\Release\ run-cppcheck.exe
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.2 )
1+ cmake_minimum_required (VERSION 3.15 )
22
33project (run-cppcheck)
44
55set (CMAKE_CXX_STANDARD 17)
66
7+ set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" )
8+
79if (UNIX )
810 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++" )
9- endif (UNIX )
11+ endif ()
1012
1113set (SOURCE_FILES main.cpp config.cpp)
1214
You can’t perform that action at this time.
0 commit comments