CI: Enable Werror for FreeBSD and Xenial builds

This commit is contained in:
Peter Keresztes Schmidt 2021-05-01 00:12:45 +02:00
parent bf08502b9c
commit 6c73590243
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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