diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-25 15:29:27 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-06-25 10:01:25 -0400 |
commit | f6ae028e99a532ffa139e77c8f733d352d474a1a (patch) | |
tree | d11e76ceb9a926a2c99214635d8ea3fa45979472 | |
parent | 787842c459a891bdf0c435ee4fc22ff371fe1f60 (diff) |
ci: make Meson warnings fatal
New warnings can be hard to notice in CI, since CI will just pass in
that case. Meson sometimes uses warnings for important mistakes, e.g.
invalid option.
Let's turn warnings into errors so that we can spot these more easily.
-rw-r--r-- | .builds/alpine.yml | 2 | ||||
-rw-r--r-- | .builds/archlinux.yml | 4 | ||||
-rw-r--r-- | .builds/freebsd.yml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml index 36227c48..c636ece6 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -19,7 +19,7 @@ sources: tasks: - setup: | cd wlroots - meson build --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled + meson build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled - build: | cd wlroots ninja -C build diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index 6986ea6a..bcab5f06 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -20,8 +20,8 @@ sources: tasks: - setup: | cd wlroots - CC=gcc meson build-gcc --default-library=both -Dauto_features=enabled --prefix /usr - CC=clang meson build-clang -Dauto_features=enabled + CC=gcc meson build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr + CC=clang meson build-clang --fatal-meson-warnings -Dauto_features=enabled - gcc: | cd wlroots/build-gcc ninja diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 4262feed..a570e204 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -27,7 +27,7 @@ sources: tasks: - wlroots: | cd wlroots - meson build -Dauto_features=enabled + meson build --fatal-meson-warnings -Dauto_features=enabled ninja -C build sudo ninja -C build install - tinywl: | |