mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
scripts: gha: psvita: fix building HLSDK, exit if we can't move to a directory
This commit is contained in:
parent
127bd89b44
commit
3e67445ef3
@ -27,7 +27,7 @@ make -C vitaGL NO_TEX_COMBINER=1 HAVE_UNFLIPPED_FBOS=1 HAVE_PTHREAD=1 MATH_SPEED
|
|||||||
|
|
||||||
echo "Building vrtld..."
|
echo "Building vrtld..."
|
||||||
|
|
||||||
pushd vita-rtld
|
pushd vita-rtld || die
|
||||||
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release || die_configure
|
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release || die_configure
|
||||||
cmake --build build -- -j2 || die
|
cmake --build build -- -j2 || die
|
||||||
cmake --install build || die
|
cmake --install build || die
|
||||||
@ -35,7 +35,7 @@ popd
|
|||||||
|
|
||||||
echo "Building SDL..."
|
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 -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 --build build -- -j2 || die
|
||||||
cmake --install build || die
|
cmake --install build || die
|
||||||
@ -49,7 +49,7 @@ cp build/engine/xash.vpk pkgtemp/
|
|||||||
|
|
||||||
echo "Building HLSDK..."
|
echo "Building HLSDK..."
|
||||||
|
|
||||||
pushd hlsdk-xash3d
|
pushd hlsdk-portable || die
|
||||||
build_hlsdk mobile_hacks valve
|
build_hlsdk mobile_hacks valve
|
||||||
build_hlsdk opfor gearbox
|
build_hlsdk opfor gearbox
|
||||||
build_hlsdk bshift bshift
|
build_hlsdk bshift bshift
|
||||||
@ -92,6 +92,6 @@ popd
|
|||||||
|
|
||||||
echo "Packaging artifacts..."
|
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/
|
7z a -t7z ../artifacts/xash3d-fwgs-psvita.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r xash.vpk data/
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user