summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-06-27 21:13:30 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-06-27 21:16:31 +1000
commitf2cf226f150fbb87ce71c455bea0748fbb97b413 (patch)
treef63756d86b94f495da8909a98182b2177c5635fe
parent3a1f3b754eba82941fc010b89ae1d7e6bbb5e802 (diff)
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>
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f20c972c..0b05db7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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.