1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

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 CC=$GH_COMPILER
export CXX=${CC%cc}++ export CXX=${CC%cc}++
export CXXFLAGS_EARLY=-Werror
if [[ "$GH_BUILDSYS" == "makefile" ]]; then if [[ "$GH_BUILDSYS" == "makefile" ]]; then
make make

View File

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