Browse Source

scripts: gha: psvita: fix building HLSDK, exit if we can't move to a directory

pull/2/head
Alibek Omarov 2 years ago
parent
commit
3e67445ef3
  1. 8
      scripts/gha/build_psvita.sh

8
scripts/gha/build_psvita.sh

@ -27,7 +27,7 @@ make -C vitaGL NO_TEX_COMBINER=1 HAVE_UNFLIPPED_FBOS=1 HAVE_PTHREAD=1 MATH_SPEED @@ -27,7 +27,7 @@ make -C vitaGL NO_TEX_COMBINER=1 HAVE_UNFLIPPED_FBOS=1 HAVE_PTHREAD=1 MATH_SPEED
echo "Building vrtld..."
pushd vita-rtld
pushd vita-rtld || die
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release || die_configure
cmake --build build -- -j2 || die
cmake --install build || die
@ -35,7 +35,7 @@ popd @@ -35,7 +35,7 @@ popd
echo "Building SDL..."
pushd SDL
pushd SDL || die
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DVIDEO_VITA_VGL=ON || die_configure
cmake --build build -- -j2 || die
cmake --install build || die
@ -49,7 +49,7 @@ cp build/engine/xash.vpk pkgtemp/ @@ -49,7 +49,7 @@ cp build/engine/xash.vpk pkgtemp/
echo "Building HLSDK..."
pushd hlsdk-xash3d
pushd hlsdk-portable || die
build_hlsdk mobile_hacks valve
build_hlsdk opfor gearbox
build_hlsdk bshift bshift
@ -92,6 +92,6 @@ popd @@ -92,6 +92,6 @@ popd
echo "Packaging artifacts..."
pushd pkgtemp
pushd pkgtemp || die
7z a -t7z ../artifacts/xash3d-fwgs-psvita.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r xash.vpk data/
popd

Loading…
Cancel
Save