aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-25 16:33:43 +0200
committerSimon Ser <contact@emersion.fr>2021-06-30 13:37:00 +0200
commit56733bc6fe3323610926dcd475f962fbefe9fdc9 (patch)
tree0e21e9af1aefd59b90adacec400235b1fd22b6c2
parent151193b4cd8326ca3bb1fd4e36100f9c59b3e8b4 (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.yml4
-rw-r--r--.builds/archlinux.yml2
-rw-r--r--.builds/freebsd.yml2
3 files changed, 4 insertions, 4 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index 59346985..7f0bef02 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -30,7 +30,7 @@ tasks:
sudo ninja -C build install
- setup: |
cd sway
- meson build -Dauto_features=enabled -Dtray=disabled
+ meson build --fatal-meson-warnings -Dauto_features=enabled -Dtray=disabled
- build: |
cd sway
ninja -C build
@@ -43,5 +43,5 @@ tasks:
mkdir subprojects
ln -s ../../wlroots subprojects/wlroots
rm -rf build
- meson build --default-library=static --force-fallback-for=wlroots
+ meson build --fatal-meson-warnings --default-library=static --force-fallback-for=wlroots
ninja -C build
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
index 05ceef8d..a8f1dfed 100644
--- a/.builds/archlinux.yml
+++ b/.builds/archlinux.yml
@@ -27,7 +27,7 @@ tasks:
sudo ninja -C build install
- setup: |
cd sway
- meson build -Dauto_features=enabled -Dsd-bus-provider=libsystemd
+ meson build --fatal-meson-warnings -Dauto_features=enabled -Dsd-bus-provider=libsystemd
- build: |
cd sway
ninja -C build
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
index 4698dbc7..1a3c8512 100644
--- a/.builds/freebsd.yml
+++ b/.builds/freebsd.yml
@@ -34,7 +34,7 @@ tasks:
cd subprojects
ln -s ../../wlroots wlroots
cd ..
- meson build -Dtray=enabled -Dsd-bus-provider=basu
+ meson build --fatal-meson-warnings -Dtray=enabled -Dsd-bus-provider=basu
- build: |
cd sway
ninja -C build