Enable -Werror for CI

This commit is contained in:
Dmitry Marakasov 2022-06-29 21:58:11 +03:00
parent 6f812233d2
commit b7975f20ce
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ fi
export CC=$GH_COMPILER
export CXX=${CC%cc}++
export CXXFLAGS_EARLY=-Werror
if [[ "$GH_BUILDSYS" == "makefile" ]]; then
make

View File

@ -162,6 +162,7 @@ script:
fi
- |-
# Build hyperrogue.
export CXXFLAGS_EARLY=-Werror
if [[ "$TRAVIS_BUILD_SYSTEM" == "Makefile" ]]; then
make
elif [[ "$TRAVIS_BUILD_SYSTEM" == "mymake" ]]; then