From a61e8ee7bcab270bdaa04bba00cdfae362b403bd Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Fri, 28 Jul 2023 16:33:21 +0200 Subject: [PATCH] GH: Add templates to linux workflow --- .github/workflows/linux.yml | 40 ++++++++++++++++++++++++++++++------ .github/workflows/runner.yml | 13 +++++++----- 2 files changed, 42 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e73cbc1..045a110 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -7,6 +7,10 @@ on: # Global Settings env: + GODOT_TREEISH: 4.1.1-stable + LIMBOAI_TREEISH: v0.4.1-stable + VERSION_STRING: 4.1.1-limboai+v0.4.1 + SCONS_CACHE_LIMIT: 4096 SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes DOTNET_NOLOGO: true @@ -20,31 +24,55 @@ jobs: fail-fast: false matrix: include: - - name: Editor (Godot v4.1.1-stable) + - name: Editor target: editor production: yes build-mono: false - godot-treeish: 4.1.1-stable executable-file: godot.linuxbsd.editor.x86_64 - # - name: Template (Godot v4.1.1-stable) + - name: Template release + target: template_release + production: yes + build-mono: false + executable-file: godot.linuxbsd.template_release.x86_64 + + - name: Template debug + target: template_debug + production: yes + build-mono: false + executable-file: godot.linuxbsd.template_debug.x86_64 + + # - name: Editor w/ Mono + # target: editor + # production: yes + # build-mono: true + # executable-file: ??? + + # - name: Template release w/ Mono # target: template_release # production: yes - # build-mono: false - # godot-treeish: v4.1.1-stable + # build-mono: true # executable-file: ??? + # - name: Template debug w/ Mono + # target: template_debug + # production: yes + # build-mono: true + # executable-file: ??? + + steps: # Clone godot - uses: actions/checkout@v3 with: repository: godotengine/godot - ref: ${{ matrix.godot-treeish }} + ref: ${{ env.GODOT_TREEISH }} # Clone limboai module - uses: actions/checkout@v3 with: path: modules/limboai + ref: ${{ env.LIMBOAI_TREEISH }} # Setup buildroot - name: Setup buildroot diff --git a/.github/workflows/runner.yml b/.github/workflows/runner.yml index bdf9e4a..a19d34b 100644 --- a/.github/workflows/runner.yml +++ b/.github/workflows/runner.yml @@ -1,10 +1,13 @@ name: 🔗 GHA on: - push: - tags: - - v0.** - branches: - - github-workflows + # push: + # tags: + # - v0.** + + # branches: [ github-workflows ] + + workflow_dispatch: + jobs: # android-build: