CI: Enable Werror for FreeBSD and Xenial builds
This commit is contained in:
parent
bf08502b9c
commit
6c73590243
|
@ -11,7 +11,7 @@ task:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake --version
|
- cmake --version
|
||||||
- cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1
|
- cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 -DENABLE_WERROR=1
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cd build
|
- cd build
|
||||||
|
|
|
@ -20,6 +20,6 @@ jobs:
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: mkdir build
|
run: mkdir build
|
||||||
- name: Configure
|
- 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
|
- name: Build
|
||||||
run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})
|
run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})
|
||||||
|
|
Loading…
Reference in New Issue