CI: Warnings are errors
parent
c620b2ee8b
commit
c451fc2b7c
|
|
@ -17,7 +17,7 @@ build windows/x64:
|
||||||
test windows/x64:
|
test windows/x64:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- CMD.EXE /C build\libicsneo-tests.exe
|
- build\libicsneo-tests.exe
|
||||||
dependencies:
|
dependencies:
|
||||||
- build windows/x64
|
- build windows/x64
|
||||||
needs:
|
needs:
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ mkdir build
|
||||||
|
|
||||||
REM build
|
REM build
|
||||||
cd build
|
cd build
|
||||||
|
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%
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue