summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-12-15 12:18:04 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-12-18 21:39:33 +0000
commit60f78f7e9e984802290a483535db208152008472 (patch)
tree181e3d60c8c9fda5066b11119488f09b81838eee /.gitlab-ci.yml
parent5d00d872012a20ce3e7bd6421d81780fd9a09e52 (diff)
downloadgobject-introspection-60f78f7e9e984802290a483535db208152008472.tar.gz
meson: add default compiler warning flags and enable -Werror on CI
This enables various compiler warnings project wide and disables the triggered ones for each library/executable. This should give us roughly the same behaviour as with autotools. Tested with gcc8 and clang7.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ad627db..53abbde7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,7 @@ fedora-x86_64-meson:
variables:
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/_ccache"
+ CFLAGS: "-Werror"
script:
- meson --prefix /usr --libdir /usr/lib64 --buildtype debug -Dgtk-doc=true -Dcairo=true -Dpython=python3 _build .
- cd _build