From 7daafae19bf97d7a1018026683ff1c115ac9c31f Mon Sep 17 00:00:00 2001 From: Artem Senichev Date: Sun, 4 Aug 2024 12:05:15 +0300 Subject: [PATCH] ci: Treat warnings as error Signed-off-by: Artem Senichev --- .github/workflows/FreeBSD.yml | 2 +- .github/workflows/Ubuntu.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/FreeBSD.yml b/.github/workflows/FreeBSD.yml index 47004e0..00c5476 100644 --- a/.github/workflows/FreeBSD.yml +++ b/.github/workflows/FreeBSD.yml @@ -29,7 +29,7 @@ jobs: googletest run: | set -e - meson setup --auto-features=enabled -D tests=enabled --prefix=/usr ${{ env.BUILD_PATH }} + meson setup --auto-features=enabled --werror -D tests=enabled --prefix=/usr ${{ env.BUILD_PATH }} meson compile -C ${{ env.BUILD_PATH }} meson test --verbose -C ${{ env.BUILD_PATH }} DESTDIR=${{ env.INSTALL_PATH }} meson install -C ${{ env.BUILD_PATH }} diff --git a/.github/workflows/Ubuntu.yml b/.github/workflows/Ubuntu.yml index 429c8c5..cfbcb24 100644 --- a/.github/workflows/Ubuntu.yml +++ b/.github/workflows/Ubuntu.yml @@ -56,6 +56,7 @@ jobs: -D man=true -D desktop=true --prefix=/usr + --werror ${{ env.BUILD_PATH }} - name: Compile and link