Browse Source

scripts: gha: include extras in MAGX and Win32 builds too (Linux and Android already have it)

pull/2/head
Alibek Omarov 3 years ago
parent
commit
6b332eabd2
  1. 3
      scripts/gha/build_motomagx.sh
  2. 5
      scripts/gha/build_win32.sh

3
scripts/gha/build_motomagx.sh

@ -23,13 +23,14 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3
export HOME=$mypath export HOME=$mypath
export SDL_QT_INVERT_ROTATION=1 export SDL_QT_INVERT_ROTATION=1
export SWAP_PATH=$HOME/xash.swap export SWAP_PATH=$HOME/xash.swap
export XASH3D_EXTRAS_PAK1=$HOME/extras.pak
cd $mypath cd $mypath
sleep 1 sleep 1
exec $mypath/xash -dev $@ exec $mypath/xash -dev $@
EOF EOF
python3 scripts/makepak.py xash-extras/ Xash/extras.pak
mkdir -p artifacts/ mkdir -p artifacts/
7z a -t7z artifacts/xash3d-fwgs-magx.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r Xash/ 7z a -t7z artifacts/xash3d-fwgs-magx.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r Xash/

5
scripts/gha/build_win32.sh

@ -24,5 +24,8 @@ else
die die
fi fi
mkdir valve/
python3 scripts/makepak.py xash-extras/ valve/extras.pak
mkdir -p artifacts/ mkdir -p artifacts/
7z a -t7z artifacts/xash3d-fwgs-win32-$ARCH.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe *.pdb 7z a -t7z artifacts/xash3d-fwgs-win32-$ARCH.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe *.pdb valve/

Loading…
Cancel
Save