From bf307c1d959d2854c0293bb91bf740fbe3c2d7c1 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 29 Jul 2022 10:26:26 -0700 Subject: [PATCH] ci: set meson to build with -Werror This will help catch any new warnings added in CI. --- .github/workflows/test.yml | 4 ++-- .woodpecker.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af278fd..8ebe9f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: - name: Build run: | - meson _build + meson _build -Dwerror=true meson compile -C _build - name: Run tests @@ -98,7 +98,7 @@ jobs: - name: Build run: | - meson _build + meson _build -Dwerror=true meson compile -C _build - name: Run tests diff --git a/.woodpecker.yml b/.woodpecker.yml index ea2f687..2304cf7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,7 @@ pipeline: commands: - apt-get update - apt-get install -y kyua atf-sh build-essential meson - - meson _build + - meson _build -Dwerror=true - meson compile -C _build - meson test -v -C _build when: @@ -30,7 +30,7 @@ pipeline: image: alpine commands: - apk add -U --no-cache kyua atf build-base meson - - meson _build + - meson _build -Dwerror=true - meson compile -C _build - meson test -v -C _build when: