From 67ce4cfbef6e3ae4a2908822a135387b047836f7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 23 May 2019 22:13:00 +0300 Subject: [PATCH] travis: windows: die if waf has failed --- scripts/build_windows_engine.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_windows_engine.sh b/scripts/build_windows_engine.sh index d1d6c468..e30d92ec 100644 --- a/scripts/build_windows_engine.sh +++ b/scripts/build_windows_engine.sh @@ -7,13 +7,13 @@ cd $TRAVIS_BUILD_DIR # NOTE: to build with other version use --msvc_version during configuration # NOTE: sometimes you may need to add WinSDK to %PATH% -./waf.bat configure -s "$TRAVIS_BUILD_DIR/SDL2_VC" -T "debug" --prefix=`pwd` -./waf.bat build -j1 +./waf.bat configure -s "$TRAVIS_BUILD_DIR/SDL2_VC" -T "debug" --prefix=`pwd` || die +./waf.bat build -j1 || die echo After build +./waf.bat install || die cp $TRAVIS_BUILD_DIR/SDL2_VC/lib/x86/SDL2.dll . # Install SDL2 cp vgui-dev/lib/win32_vc6/vgui.dll . -./waf.bat install 7z a -t7z $TRAVIS_BUILD_DIR/xash3d-vc.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe *.pdb