GH: Add templates to linux workflow

This commit is contained in:
Serhii Snitsaruk 2023-07-28 16:33:21 +02:00
parent d1605609a2
commit a61e8ee7bc
2 changed files with 42 additions and 11 deletions

View File

@ -7,6 +7,10 @@ on:
# Global Settings # Global Settings
env: 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 SCONS_CACHE_LIMIT: 4096
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
DOTNET_NOLOGO: true DOTNET_NOLOGO: true
@ -20,31 +24,55 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- name: Editor (Godot v4.1.1-stable) - name: Editor
target: editor target: editor
production: yes production: yes
build-mono: false build-mono: false
godot-treeish: 4.1.1-stable
executable-file: godot.linuxbsd.editor.x86_64 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 # target: template_release
# production: yes # production: yes
# build-mono: false # build-mono: true
# godot-treeish: v4.1.1-stable
# executable-file: ??? # executable-file: ???
# - name: Template debug w/ Mono
# target: template_debug
# production: yes
# build-mono: true
# executable-file: ???
steps: steps:
# Clone godot # Clone godot
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
repository: godotengine/godot repository: godotengine/godot
ref: ${{ matrix.godot-treeish }} ref: ${{ env.GODOT_TREEISH }}
# Clone limboai module # Clone limboai module
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
path: modules/limboai path: modules/limboai
ref: ${{ env.LIMBOAI_TREEISH }}
# Setup buildroot # Setup buildroot
- name: Setup buildroot - name: Setup buildroot

View File

@ -1,10 +1,13 @@
name: 🔗 GHA name: 🔗 GHA
on: on:
push: # push:
tags: # tags:
- v0.** # - v0.**
branches:
- github-workflows # branches: [ github-workflows ]
workflow_dispatch:
jobs: jobs:
# android-build: # android-build: