Update spine-godot-v4.yml

This commit is contained in:
2dogtwo 2026-03-22 00:18:15 +08:00 committed by GitHub
parent 1bebcb514e
commit 7d2241ec60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,6 +87,36 @@ jobs:
with:
name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-linux', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
path: spine-godot/godot/bin/**/*
build-linux-arm64:
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup python and scons
uses: ./.github/actions/setup-godot-deps-4
with:
# Sync with Ensure*Version in SConstruct.
python-arch: arm64
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential scons pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev
- name: Build GDExtension
run: |
cd spine-godot/build
./setup-extension.sh $GODOT_TAG $DEV_BUILD
./build-extension.sh linux
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: gdextension-linux-arm64-${{ env.GODOT_TAG }}
path: spine-godot/example-v4-extension/bin/linux/*.so
godot-editor-macos:
runs-on: macos-latest