Skip to content

Commit

Permalink
scripts: gha: do not waste time building bshift, just copy binary fro…
Browse files Browse the repository at this point in the history
…m mobile_hacks
  • Loading branch information
a1batross committed Aug 12, 2024
1 parent 99cec81 commit d905ea3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ jobs:
if: ${{ github.event_name == 'push' }}
steps:
- name: Remove old release
run: gh release delete -y --cleanup-tag -R $GITHUB_REPOSITORY ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
run: |
gh release delete -y --cleanup-tag -R $GITHUB_REPOSITORY ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }} || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Fetch artifacts
Expand Down
6 changes: 5 additions & 1 deletion scripts/gha/build_nswitch_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ echo "Building HLSDK..."
pushd hlsdk-portable || die
build_hlsdk mobile_hacks valve
build_hlsdk opfor gearbox
build_hlsdk bshift bshift
popd

# bshift can be used from mobile_hacks branch
pushd pkgtemp/xash3d
cp -v valve/dlls/hl_nswitch_arm64.so bshift/dlls/bshift_nswitch_arm64.so
popd
6 changes: 5 additions & 1 deletion scripts/gha/build_psvita.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ echo "Building HLSDK..."
pushd hlsdk-portable || die
build_hlsdk mobile_hacks valve
build_hlsdk opfor gearbox
build_hlsdk bshift bshift
popd

# bshift can be used from mobile_hacks branch
pushd pkgtemp/data/xash3d
cp -v valve/dlls/hl_psvita_armv7hf.so bshift/dlls/bshift_psvita_armv7hf.so
popd

echo "Generating default config files..."
Expand Down

0 comments on commit d905ea3

Please sign in to comment.