scripts: gha: do not waste time building bshift, just copy binary from mobile_hacks
This commit is contained in:
parent
99cec81894
commit
d905ea354e
3 changed files with 12 additions and 3 deletions
3
.github/workflows/c-cpp.yml
vendored
3
.github/workflows/c-cpp.yml
vendored
|
@ -98,7 +98,8 @@ jobs:
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Remove old release
|
- 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:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch artifacts
|
- name: Fetch artifacts
|
||||||
|
|
|
@ -50,5 +50,9 @@ echo "Building HLSDK..."
|
||||||
pushd hlsdk-portable || die
|
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
|
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
|
popd
|
||||||
|
|
|
@ -53,7 +53,11 @@ echo "Building HLSDK..."
|
||||||
pushd hlsdk-portable || die
|
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
|
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
|
popd
|
||||||
|
|
||||||
echo "Generating default config files..."
|
echo "Generating default config files..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue