Browse Source

travis: fix magx deploy

pull/2/head
Alibek Omarov 5 years ago
parent
commit
f09682131f
  1. 3
      .travis.yml
  2. 4
      scripts/build_motomagx_engine.sh

3
.travis.yml

@ -202,8 +202,9 @@ jobs: @@ -202,8 +202,9 @@ jobs:
script:
- sh scripts/build_motomagx_engine.sh
after_script:
- cd $TRAVIS_BUILD_DIR
- ccache --show-stats
- sh ../scripts/continious_upload.sh xash3d-magx.7z
- sh scripts/continious_upload.sh xash3d-magx.7z
- stage: deploy
name: "Deploy to github repo"
os: linux

4
scripts/build_motomagx_engine.sh

@ -10,8 +10,8 @@ mkdir -p Xash/valve/dlls @@ -10,8 +10,8 @@ mkdir -p Xash/valve/dlls
cd hlsdk
./waf configure -T fast --enable-magx build
cp build/cl_dlls/client.so ../Xash/valve/cl_dlls/client_armv6l.so
cp build/dlls/hl.so ../Xash/valve/cl_dlls/hl_armv6l.so
cp build/cl_dll/client.so ../Xash/valve/cl_dlls/client_armv6l.so
cp build/dlls/hl.so ../Xash/valve/dlls/hl_armv6l.so
cd ../
./waf configure -T fast --enable-magx --win-style-install --prefix='' build install --destdir=Xash/

Loading…
Cancel
Save