CI: Also set warnings as errors in C code

This commit is contained in:
Paul Hollinsky
2022-02-22 10:37:37 -05:00
parent b177617940
commit 733312628c
+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%