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 1
1
name : Build (Ubuntu)
2
2
on :
3
3
push :
4
+ pull_request :
4
5
jobs :
5
6
build-project :
6
7
name : Build Project
11
12
12
13
- name : Build Project
13
14
15
+ with :
16
+ options : |
17
+ CMAKE_BUILD_TYPE=Release
18
+ build-args : |
19
+ --config Release
14
20
15
21
- name : Deploy Project
16
22
uses : actions/upload-artifact@v4
17
23
with :
18
- name : run-cppcheck
24
+ name : run-cppcheck-linux-x86_64
19
25
path : build/run-cppcheck
Original file line number Diff line number Diff line change 1
1
name : Build (Windows)
2
2
on :
3
3
push :
4
+ pull_request :
4
5
jobs :
5
6
build-project :
6
7
name : Build Project
11
12
12
13
- name : Build Project
13
14
15
+ with :
16
+ options : |
17
+ CMAKE_BUILD_TYPE=Release
18
+ build-args : |
19
+ --config Release
14
20
15
21
- name : Deploy Project
16
22
uses : actions/upload-artifact@v4
17
23
with :
18
24
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 )
2
2
3
3
project (run-cppcheck )
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
+ set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" )
8
+
7
9
if (UNIX )
8
10
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++" )
9
- endif (UNIX )
11
+ endif ()
10
12
11
13
set (SOURCE_FILES main.cpp config.cpp )
12
14
You can’t perform that action at this time.
0 commit comments