From 6c73590243064cd2d5ee34373ec5a7e96b62215b Mon Sep 17 00:00:00 2001 From: Peter Keresztes Schmidt Date: Sat, 1 May 2021 00:12:45 +0200 Subject: [PATCH] CI: Enable Werror for FreeBSD and Xenial builds --- .cirrus.yml | 2 +- .github/workflows/ci-xenial.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index e0f1fa8db..0a04ad6cd 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -11,7 +11,7 @@ task: - mkdir build - cd build - cmake --version - - cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 + - cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 -DENABLE_WERROR=1 build_script: - cd build diff --git a/.github/workflows/ci-xenial.yml b/.github/workflows/ci-xenial.yml index f24623488..4ea605267 100644 --- a/.github/workflows/ci-xenial.yml +++ b/.github/workflows/ci-xenial.yml @@ -20,6 +20,6 @@ jobs: - name: Prepare run: mkdir build - name: Configure - run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 + run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 -DENABLE_WERROR=1 - name: Build run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})