From f2cf226f150fbb87ce71c455bea0748fbb97b413 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 27 Jun 2018 21:13:30 +1000 Subject: 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 --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- cgit v1.2.3