mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-28 12:41:25 +08:00
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
name: Build and Publish Godot editor and templates
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/spine-godot.yml"
|
|
- 'spine-godot/**'
|
|
- 'spine-cpp/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
godot-ios-template:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup python and scons
|
|
uses: ./.github/actions/setup-godot-deps
|
|
|
|
- name: Build Godot artifact
|
|
run: |
|
|
./spine-godot/build/setup.sh 3.4.4-stable false
|
|
./spine-godot/build/build-templates.sh ios
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: spine-godot-ios-template.zip
|
|
path: spine-godot/godot/bin/iphone.zip
|
|
|
|
godot-linux-template:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup python and scons
|
|
uses: ./.github/actions/setup-godot-deps
|
|
|
|
- name: Build Godot artifact
|
|
run: |
|
|
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
|
|
./spine-godot/build/setup.sh 3.4.4-stable false
|
|
./spine-godot/build/build-templates.sh linux
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: linux_x11_64_release
|
|
path: spine-godot/godot/bin/linux_x11_64_release
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: linux_x11_64_debug
|
|
path: spine-godot/godot/bin/linux_x11_64_debug
|
|
|
|
|