mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
scripts: travis: test windows scripts
This commit is contained in:
parent
becb58223a
commit
efc12f1045
16
scripts/build_windows_engine.sh
Normal file
16
scripts/build_windows_engine.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
. scripts/lib.sh
|
||||
|
||||
# Build engine
|
||||
cd $TRAVIS_BUILD_DIR
|
||||
./waf configure --sdl2=$TRAVIS_BUILD_DIR/SDL2_VC --vgui=$TRAVIS_BUILD_DIR/vgui-dev --build-type=debug || die
|
||||
./waf build -j2 || die
|
||||
|
||||
cp $TRAVIS_BUILD_DIR/SDL2_VC/lib/x86/SDL2.dll . # Install SDL2
|
||||
cp build/vgui_support/vgui_support.dll .
|
||||
cp vgui-dev/lib/win32_vc6/vgui.dll .
|
||||
cp build/engine/xash.dll .
|
||||
cp build/mainui/menu.dll .
|
||||
cp build/game_launch/xash3d.exe .
|
||||
7z a -t7z $TRAVIS_BUILD_DIR/xash3d-vc.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe
|
6
scripts/travis_windows_deps.sh
Normal file
6
scripts/travis_windows_deps.sh
Normal file
@ -0,0 +1,6 @@
|
||||
# SDL2 for VC prebuilt
|
||||
curl http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip
|
||||
unzip SDL2.zip
|
||||
mv SDL2-$SDL_VERSION SDL2_VC
|
||||
|
||||
cd $TRAVIS_BUILD_DIR
|
Loading…
Reference in New Issue
Block a user