CI: Also set warnings as errors in C code

This commit is contained in:
Paul Hollinsky
2022-02-22 10:49:49 -05:00
parent d051d20db6
commit af152fe54a
+1
View File
@@ -4,6 +4,7 @@ mkdir build
REM build REM build
cd build cd build
set CFLAGS=/WX
set CXXFLAGS=/WX set CXXFLAGS=/WX
cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBICSNEO_BUILD_TESTS=ON .. cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBICSNEO_BUILD_TESTS=ON ..
if %errorlevel% neq 0 exit /b %errorlevel% if %errorlevel% neq 0 exit /b %errorlevel%