mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
Enable -Werror for CI
This commit is contained in:
parent
6f812233d2
commit
b7975f20ce
1
.github/workflows/build.sh
vendored
1
.github/workflows/build.sh
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user