diff --git a/.github/workflows/spine-godot-extension-v4.yml b/.github/workflows/spine-godot-extension-v4.yml index d6e9a976a..1c0a4d929 100644 --- a/.github/workflows/spine-godot-extension-v4.yml +++ b/.github/workflows/spine-godot-extension-v4.yml @@ -74,6 +74,36 @@ jobs: with: name: gdextension-linux-x86_64-${{ env.GODOT_TAG }} 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: runs-on: macos-latest @@ -261,4 +291,4 @@ jobs: zip -r ../spine-godot-extension-$BRANCH-$GODOT_TAG.zip spine_godot_extension.gdextension bin/ cd .. - aws s3 cp spine-godot-extension-$BRANCH-$GODOT_TAG.zip s3://spine-godot/$BRANCH/$GODOT_TAG/ \ No newline at end of file + aws s3 cp spine-godot-extension-$BRANCH-$GODOT_TAG.zip s3://spine-godot/$BRANCH/$GODOT_TAG/ diff --git a/.github/workflows/spine-godot-v4.yml b/.github/workflows/spine-godot-v4.yml index 488dd8667..92df6db1e 100644 --- a/.github/workflows/spine-godot-v4.yml +++ b/.github/workflows/spine-godot-v4.yml @@ -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