Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Heisch, Benjamin
APAL
Commits
d065ad2d
Commit
d065ad2d
authored
Aug 08, 2020
by
Benjamin Heisch
Browse files
Treat warnings as errors on build.
parent
ecb68309
Pipeline
#19104
passed with stages
in 6 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d065ad2d
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment