2023-09-15 08:49:33 +00:00
|
|
|
name: 🔗 All builds
|
2023-07-28 12:53:10 +00:00
|
|
|
on:
|
2023-07-28 14:33:21 +00:00
|
|
|
workflow_dispatch:
|
2023-07-29 21:16:10 +00:00
|
|
|
inputs:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref:
|
2023-07-29 21:16:10 +00:00
|
|
|
description: A tag, branch or commit hash in the Godot repository.
|
|
|
|
type: string
|
2024-10-13 15:06:25 +00:00
|
|
|
default: 4.3
|
2024-03-10 16:23:59 +00:00
|
|
|
limboai-ref:
|
2023-07-29 21:16:10 +00:00
|
|
|
description: A tag, branch or commit hash in the LimboAI repository.
|
|
|
|
type: string
|
|
|
|
default: master
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-cpp-ref:
|
2024-01-14 18:32:09 +00:00
|
|
|
description: A tag, branch or commit hash in the godot-cpp repository.
|
|
|
|
type: string
|
2024-08-15 14:30:42 +00:00
|
|
|
default: godot-4.3-stable
|
2023-07-28 12:53:10 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-11-03 11:45:55 +00:00
|
|
|
cache-sha:
|
2024-03-10 16:23:59 +00:00
|
|
|
name: Cache SHA
|
2023-11-03 11:45:55 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
outputs:
|
|
|
|
godot-sha: ${{ steps.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-sha: ${{ steps.cache-sha.outputs.limboai-sha }}
|
|
|
|
steps:
|
|
|
|
- name: Clone Godot
|
2023-11-09 14:07:29 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-11-03 11:45:55 +00:00
|
|
|
with:
|
|
|
|
repository: godotengine/godot
|
2024-03-10 16:23:59 +00:00
|
|
|
ref: ${{ inputs.godot-ref }}
|
2023-11-03 11:45:55 +00:00
|
|
|
|
|
|
|
- name: Clone LimboAI module
|
2023-11-09 14:07:29 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-11-03 11:45:55 +00:00
|
|
|
with:
|
|
|
|
path: modules/limboai
|
2024-03-10 16:23:59 +00:00
|
|
|
ref: ${{ inputs.limboai-ref }}
|
2023-11-03 11:45:55 +00:00
|
|
|
|
|
|
|
- name: Cache SHA
|
|
|
|
id: cache-sha
|
|
|
|
run: |
|
2023-12-01 13:17:02 +00:00
|
|
|
echo "godot-sha=$(git describe --tags --exact-match HEAD || git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
|
2023-11-03 11:45:55 +00:00
|
|
|
cd modules/limboai
|
2023-12-01 13:17:02 +00:00
|
|
|
echo "limboai-sha=$(git describe --tags --exact-match HEAD || git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
|
2023-11-03 11:45:55 +00:00
|
|
|
|
2023-08-01 15:33:18 +00:00
|
|
|
android-build:
|
|
|
|
name: 🤖 Android
|
2023-11-03 11:45:55 +00:00
|
|
|
needs: cache-sha
|
2023-08-01 15:33:18 +00:00
|
|
|
uses: ./.github/workflows/android.yml
|
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2023-07-28 12:53:10 +00:00
|
|
|
|
2023-08-01 15:33:18 +00:00
|
|
|
ios-build:
|
|
|
|
name: 🍏 iOS
|
2023-11-03 11:45:55 +00:00
|
|
|
needs: cache-sha
|
2023-08-01 15:33:18 +00:00
|
|
|
uses: ./.github/workflows/ios.yml
|
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2023-07-28 12:53:10 +00:00
|
|
|
|
|
|
|
linux-build:
|
|
|
|
name: 🐧 Linux
|
2023-11-03 11:45:55 +00:00
|
|
|
needs: cache-sha
|
2023-07-28 12:53:10 +00:00
|
|
|
uses: ./.github/workflows/linux.yml
|
2023-07-29 21:16:10 +00:00
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2023-12-29 13:40:10 +00:00
|
|
|
test-build: false
|
2023-07-28 12:53:10 +00:00
|
|
|
|
2023-07-29 09:27:29 +00:00
|
|
|
macos-build:
|
|
|
|
name: 🍎 macOS
|
2023-11-03 11:45:55 +00:00
|
|
|
needs: cache-sha
|
2023-07-29 09:27:29 +00:00
|
|
|
uses: ./.github/workflows/macos.yml
|
2023-07-29 21:16:10 +00:00
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2023-07-28 12:53:10 +00:00
|
|
|
|
2023-07-28 18:17:48 +00:00
|
|
|
windows-build:
|
|
|
|
name: 🪟 Windows
|
2023-11-03 11:45:55 +00:00
|
|
|
needs: cache-sha
|
2023-07-28 18:17:48 +00:00
|
|
|
uses: ./.github/workflows/windows.yml
|
2023-07-29 21:16:10 +00:00
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2023-12-29 12:10:26 +00:00
|
|
|
test-build: false
|
2023-07-28 12:53:10 +00:00
|
|
|
|
2023-07-31 09:21:12 +00:00
|
|
|
web-build:
|
|
|
|
name: 🌐 Web
|
2023-11-03 11:45:55 +00:00
|
|
|
needs: cache-sha
|
2023-07-31 09:21:12 +00:00
|
|
|
uses: ./.github/workflows/web.yml
|
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2024-01-14 18:32:09 +00:00
|
|
|
|
|
|
|
gdextension:
|
|
|
|
name: 🔌 GDExtension
|
|
|
|
needs: cache-sha
|
|
|
|
uses: ./.github/workflows/gdextension.yml
|
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
godot-cpp-ref: ${{ inputs.godot-cpp-ref }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
2024-01-14 18:32:09 +00:00
|
|
|
test-build: false
|
2024-02-15 13:24:45 +00:00
|
|
|
|
|
|
|
demo:
|
|
|
|
name: 🎮️ Demo project
|
|
|
|
needs: cache-sha
|
|
|
|
uses: ./.github/workflows/demo.yml
|
|
|
|
with:
|
2024-03-10 16:23:59 +00:00
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|
|
|
|
|
|
|
|
merge_templates:
|
|
|
|
name: 📦 Merge templates
|
|
|
|
if: ${{ always() }}
|
|
|
|
needs:
|
|
|
|
[
|
|
|
|
cache-sha,
|
|
|
|
android-build,
|
|
|
|
ios-build,
|
|
|
|
linux-build,
|
|
|
|
macos-build,
|
|
|
|
windows-build,
|
|
|
|
web-build,
|
|
|
|
]
|
|
|
|
uses: ./.github/workflows/merge_templates.yml
|
|
|
|
with:
|
|
|
|
godot-ref: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-ref: ${{ needs.cache-sha.outputs.limboai-sha }}
|