File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 52
52
run : >
53
53
cmake -B ${{ steps.strings.outputs.build-output-dir }}
54
54
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
55
+ -DCMAKE_CXX_FLAGS='-Werror'
55
56
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
57
+ -DCMAKE_C_FLAGS='-Werror'
56
58
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
57
59
-DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=ON
58
60
-GNinja
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ unset(CMAKE_REQUIRED_FLAGS)
80
80
check_cxx_compiler_flag (-Wstring-conversion LIB_PROTO_MUTATOR_HAS_WSTRING_CONVERSION )
81
81
82
82
if (NOT MSVC )
83
- set (EXTRA_FLAGS "-fno-exceptions -Werror - Wall" )
83
+ set (EXTRA_FLAGS "-fno-exceptions -Wall" )
84
84
if (LIB_PROTO_MUTATOR_HAS_WSTRING_CONVERSION )
85
85
set (EXTRA_FLAGS "${EXTRA_FLAGS} -Wstring-conversion" )
86
86
endif ()
You can’t perform that action at this time.
0 commit comments