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]})