mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 04:40:05 +01:00
gitlab CI: build a release with -Werror
Any compiler warnings in the default build are likely caught by developers anyway. Let's build one with -Werror and the release buildtype to catch anything triggered by optimization or somesuch. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3a1f3b754e
commit
f2cf226f15
1 changed files with 8 additions and 0 deletions
|
|
@ -495,6 +495,14 @@ fedora:28@default-build:
|
|||
<<: *fedora_28_template
|
||||
<<: *default_build
|
||||
|
||||
fedora:28@default-build-release:
|
||||
<<: *fedora_28_template
|
||||
<<: *default_build
|
||||
variables:
|
||||
FEDORA_VERSION: 28
|
||||
MESON_ARGS: "-Dbuildtype=release"
|
||||
CFLAGS: "-Werror"
|
||||
|
||||
# Below jobs are build option combinations. We only
|
||||
# run them on one image, they shouldn't fail on one distro
|
||||
# when they succeed on another.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue