From 416996b31db657bd2a1365895b34dc641bb6449b Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Mon, 21 Feb 2022 21:23:58 -0500 Subject: [PATCH] CI: Warnings are errors --- .gitlab-ci.yml | 2 +- ci/build-windows.bat | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 391effc..4348590 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ build windows/x64: test windows/x64: stage: test script: - - CMD.EXE /C build\libicsneo-tests.exe + - build\libicsneo-tests.exe dependencies: - build windows/x64 needs: diff --git a/ci/build-windows.bat b/ci/build-windows.bat index 5871e98..1a4e614 100644 --- a/ci/build-windows.bat +++ b/ci/build-windows.bat @@ -6,6 +6,7 @@ mkdir build REM build cd build +set CXXFLAGS=/WX cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBICSNEO_BUILD_TESTS=ON .. if %errorlevel% neq 0 exit /b %errorlevel% cmake --build .