CI: Warnings are errors

add-device-sharing
Paul Hollinsky 2022-02-21 21:23:58 -05:00
parent c620b2ee8b
commit c451fc2b7c
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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 .