mirror of
https://github.com/UberGames/ioef.git
synced 2025-02-25 21:00:57 +00:00
build-test.sh always run clean first, for non-travis-ci
This commit is contained in:
parent
97fc98d26b
commit
a0f74366a7
1 changed files with 3 additions and 4 deletions
|
@ -3,11 +3,10 @@
|
||||||
failed=0;
|
failed=0;
|
||||||
|
|
||||||
# Default Build
|
# Default Build
|
||||||
(make) || failed=1;
|
(make clean release) || failed=1;
|
||||||
|
|
||||||
# Test additional options
|
# Test additional options
|
||||||
make clean
|
(make clean release USE_CODEC_VORBIS=1 USE_FREETYPE=1 CFLAGS=-DRAVENMD4) || failed=1;
|
||||||
(make USE_CODEC_VORBIS=1 USE_FREETYPE=1 CFLAGS=-DRAVENMD4) || failed=1;
|
|
||||||
|
|
||||||
# Test mingw
|
# Test mingw
|
||||||
if [ "$CC" = "clang" ]; then
|
if [ "$CC" = "clang" ]; then
|
||||||
|
@ -16,7 +15,7 @@ if [ "$CC" = "clang" ]; then
|
||||||
else
|
else
|
||||||
# clear CC so cross-make-mingw script will set it.
|
# clear CC so cross-make-mingw script will set it.
|
||||||
export CC=
|
export CC=
|
||||||
(exec ./cross-make-mingw.sh) || failed=1;
|
(exec ./cross-make-mingw.sh clean release) || failed=1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $failed -eq 1 ]; then
|
if [ $failed -eq 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue