From 34b901c745a3cb4d2941155a086741d76bd1a27b Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 7 Feb 2022 15:31:24 +0100 Subject: [PATCH] build: Make CI build fail on warnings Currently, warnings are hidden in the logs and the build is marked as succeeded. Mark all warnings as error so that we see them show up in the review process. Signed-off-by: Daniel Wagner --- .github/workflows/meson.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index e1fbdbd1..9fe06203 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -19,8 +19,9 @@ jobs: - uses: actions/setup-python@v1 - uses: BSFishy/meson-build@v1.0.3 with: - action: test + setup-options: --werror options: --verbose + action: test # Preserve meson's log file on failure - uses: actions/upload-artifact@v1 if: failure() -- 2.50.1