Browse Source

ci: nswitch: fix artifact packaging

pull/2/head
fgsfds 1 year ago
parent
commit
6c8b9af6bb
  1. 3
      scripts/gha/build_nswitch.sh
  2. 5
      scripts/gha/build_nswitch_docker.sh

3
scripts/gha/build_nswitch.sh

@ -15,5 +15,4 @@ docker run --name xash-build --rm -v `pwd`:`pwd` -w `pwd` devkitpro/devkita64:la @@ -15,5 +15,4 @@ docker run --name xash-build --rm -v `pwd`:`pwd` -w `pwd` devkitpro/devkita64:la
echo "Packaging artifacts..."
find artifacts
7z a -t7z artifacts/xash3d-fwgs-nswitch.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r artifacts/xash3d
7z a -t7z artifacts/xash3d-fwgs-nswitch.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r pkgtemp/xash3d

5
scripts/gha/build_nswitch_docker.sh

@ -33,11 +33,12 @@ echo "Building engine..." @@ -33,11 +33,12 @@ echo "Building engine..."
echo "Building HLSDK..."
# TODO: replace with FWGS/hlsdk-portable.git when PRs are merged
cd hlsdk-xash3d || die
# TODO: replace with hlsdk-portable when PRs are merged
pushd hlsdk-xash3d
build_hlsdk hl valve
build_hlsdk opfor gearbox
build_hlsdk bshift bshift
popd
echo "Copying artifacts..."

Loading…
Cancel
Save