mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 05:41:46 +08:00
scripts: stop executing script and print config.log, if waf was failed.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
# Build custom SDL2
|
||||
|
||||
. scripts/lib.sh
|
||||
|
||||
cd $TRAVIS_BUILD_DIR/SDL2_src
|
||||
export CC="ccache gcc -msse2 -march=i686 -m32 -ggdb -O2"
|
||||
./configure \
|
||||
@@ -29,8 +31,8 @@ make install DESTDIR=$TRAVIS_BUILD_DIR/SDL2_linux
|
||||
cd $TRAVIS_BUILD_DIR
|
||||
export CC="ccache gcc"
|
||||
export CXX="ccache g++"
|
||||
./waf configure --sdl2=$TRAVIS_BUILD_DIR/SDL2_linux --vgui=$TRAVIS_BUILD_DIR/vgui-dev --build-type=debug --enable-stb
|
||||
./waf build -j2
|
||||
./waf configure --sdl2=$TRAVIS_BUILD_DIR/SDL2_linux --vgui=$TRAVIS_BUILD_DIR/vgui-dev --build-type=debug --enable-stb || die
|
||||
./waf build -j2 || die
|
||||
|
||||
# Build AppImage
|
||||
scripts/build_appimage.sh
|
||||
|
||||
Reference in New Issue
Block a user