aboutsummaryrefslogtreecommitdiff
path: root/.builds/alpine.yml
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 /.builds/alpine.yml
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.
Diffstat (limited to '.builds/alpine.yml')
-rw-r--r--.builds/alpine.yml4
1 files changed, 2 insertions, 2 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