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:
|
2023-08-01 16:06:19 +00:00
|
|
|
godot-treeish:
|
2023-07-29 21:16:10 +00:00
|
|
|
description: A tag, branch or commit hash in the Godot repository.
|
|
|
|
type: string
|
2023-12-01 11:57:12 +00:00
|
|
|
default: 4.2-stable
|
2023-08-01 16:06:19 +00:00
|
|
|
limboai-treeish:
|
2023-07-29 21:16:10 +00:00
|
|
|
description: A tag, branch or commit hash in the LimboAI repository.
|
|
|
|
type: string
|
|
|
|
default: master
|
2023-07-28 12:53:10 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-11-03 11:45:55 +00:00
|
|
|
cache-sha:
|
|
|
|
name: Cache treeish SHA
|
|
|
|
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
|
|
|
|
ref: ${{ inputs.godot-treeish }}
|
|
|
|
|
|
|
|
- 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
|
|
|
|
ref: ${{ inputs.limboai-treeish }}
|
|
|
|
|
|
|
|
- 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:
|
2023-11-03 11:45:55 +00:00
|
|
|
godot-treeish: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-treeish: ${{ 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:
|
2023-11-03 11:45:55 +00:00
|
|
|
godot-treeish: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-treeish: ${{ 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:
|
2023-11-03 11:45:55 +00:00
|
|
|
godot-treeish: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-treeish: ${{ needs.cache-sha.outputs.limboai-sha }}
|
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:
|
2023-11-03 11:45:55 +00:00
|
|
|
godot-treeish: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-treeish: ${{ 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:
|
2023-11-03 11:45:55 +00:00
|
|
|
godot-treeish: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-treeish: ${{ needs.cache-sha.outputs.limboai-sha }}
|
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:
|
2023-11-03 11:45:55 +00:00
|
|
|
godot-treeish: ${{ needs.cache-sha.outputs.godot-sha }}
|
|
|
|
limboai-treeish: ${{ needs.cache-sha.outputs.limboai-sha }}
|