mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge 42191790b9ff6ed16477deb0b5a83be67dbe0d51 into fa48d53948db4e5052e28b3a98a8c358250a1b72
This commit is contained in:
commit
8813552f1f
32
.github/workflows/spine-godot-extension-v4.yml
vendored
32
.github/workflows/spine-godot-extension-v4.yml
vendored
@ -74,6 +74,36 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: gdextension-linux-x86_64-${{ env.GODOT_TAG }}
|
name: gdextension-linux-x86_64-${{ env.GODOT_TAG }}
|
||||||
path: spine-godot/example-v4-extension/bin/linux/*.so
|
path: spine-godot/example-v4-extension/bin/linux/*.so
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -261,4 +291,4 @@ jobs:
|
|||||||
zip -r ../spine-godot-extension-$BRANCH-$GODOT_TAG.zip spine_godot_extension.gdextension bin/
|
zip -r ../spine-godot-extension-$BRANCH-$GODOT_TAG.zip spine_godot_extension.gdextension bin/
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
aws s3 cp spine-godot-extension-$BRANCH-$GODOT_TAG.zip s3://spine-godot/$BRANCH/$GODOT_TAG/
|
aws s3 cp spine-godot-extension-$BRANCH-$GODOT_TAG.zip s3://spine-godot/$BRANCH/$GODOT_TAG/
|
||||||
|
|||||||
30
.github/workflows/spine-godot-v4.yml
vendored
30
.github/workflows/spine-godot-v4.yml
vendored
@ -87,6 +87,36 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-linux', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
|
name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-linux', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
|
||||||
path: spine-godot/godot/bin/**/*
|
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:
|
godot-editor-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user