Commit d065ad2d authored by Benjamin Heisch's avatar Benjamin Heisch
Browse files

Treat warnings as errors on build.

parent ecb68309
Pipeline #19104 passed with stages
in 6 minutes and 20 seconds
......@@ -15,7 +15,7 @@ debian_buster_x64_build:
- cmake -DINSTALL_PREFIX=$(pwd)/build/deps -DBUILD_DIR=build/deps -P scripts/install.cmake
- cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(pwd)/build/deps -S . -B build/Release
- cmake --build build/Release/
- cmake -E env CXXFLAGS="-g -O0 -Wall -Wextra -Wpedantic -Wshadow -W --coverage" C_FLAGS="-g -O0 -Wall -W --coverage" LDFLAGS="--coverage -lgcov" cmake -G "Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(pwd)/build/deps -S . -B $(pwd)/build/Debug
- cmake -E env CXXFLAGS="-g -O0 -Wall -Wextra -Wpedantic -Wshadow -W -Werror --coverage" C_FLAGS="-g -O0 -Wall -W --coverage" LDFLAGS="--coverage -lgcov" cmake -G "Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(pwd)/build/deps -S . -B $(pwd)/build/Debug
- cmake --build $(pwd)/build/Debug
artifacts:
paths:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment