mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 11:37:55 +00:00
Enable -Werror for CI
This commit is contained in:
1
.github/workflows/build.sh
vendored
1
.github/workflows/build.sh
vendored
@@ -17,6 +17,7 @@ fi
|
||||
|
||||
export CC=$GH_COMPILER
|
||||
export CXX=${CC%cc}++
|
||||
export CXXFLAGS_EARLY=-Werror
|
||||
|
||||
if [[ "$GH_BUILDSYS" == "makefile" ]]; then
|
||||
make
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user