Browse Source

travis: windows: die if waf has failed

pull/2/head
Alibek Omarov 6 years ago committed by GitHub
parent
commit
67ce4cfbef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      scripts/build_windows_engine.sh

6
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: to build with other version use --msvc_version during configuration
# NOTE: sometimes you may need to add WinSDK to %PATH% # 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 configure -s "$TRAVIS_BUILD_DIR/SDL2_VC" -T "debug" --prefix=`pwd` || die
./waf.bat build -j1 ./waf.bat build -j1 || die
echo After build echo After build
./waf.bat install || die
cp $TRAVIS_BUILD_DIR/SDL2_VC/lib/x86/SDL2.dll . # Install SDL2 cp $TRAVIS_BUILD_DIR/SDL2_VC/lib/x86/SDL2.dll . # Install SDL2
cp vgui-dev/lib/win32_vc6/vgui.dll . 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 7z a -t7z $TRAVIS_BUILD_DIR/xash3d-vc.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe *.pdb

Loading…
Cancel
Save