File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1515 matrix :
1616 os : [windows-latest, macos-latest, ubuntu-latest]
1717 shared : [true, false]
18- build_type : [Release ]
18+ build_type : [CI ]
1919 include :
2020 - os : windows-latest
2121 triplet : x64-windows
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ SET(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_DEBUG} --coverage")
2727SET (CMAKE_EXE_LINKER_FLAGS_COVERAGE "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --coverage" )
2828SET (CMAKE_SHARED_LINKER_FLAGS_COVERAGE "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} --coverage" )
2929
30+ ############################################################
31+ # add new CMAKE_BUILD_TYPE CI
32+ ############################################################
33+ set (SANITIZE_OPTIONS "-fsanitize=address -fsanitize=leak -fsanitize=undefined" )
34+ SET (CMAKE_CXX_FLAGS_CI "${CMAKE_CXX_FLAGS_RELEASE} -Wall -Wextra -fno-omit-frame-pointer ${SANITIZE_OPTIONS} " )
35+ SET (CMAKE_EXE_LINKER_FLAGS_CI "${CMAKE_EXE_LINKER_FLAGS_RELEASE} ${SANITIZE_OPTIONS} " )
36+ SET (CMAKE_SHARED_LINKER_FLAGS_CI "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} ${SANITIZE_OPTIONS} " )
37+
3038############################################################
3139# user config options
3240############################################################
You can’t perform that action at this time.
0 commit comments