Files
godot/.gitea/workflows/build-engine.yaml
Olof Pettersson 87aaaee02e
Some checks failed
Build Godot Engine / Build Windows ${{ matrix.name }} (godot-windows-debug, Debug Template, no, template_debug) (push) Failing after 1m23s
Build Godot Engine / Build Windows ${{ matrix.name }} (godot-windows-editor, Editor, yes, editor) (push) Failing after 1m19s
Build Godot Engine / Build Windows ${{ matrix.name }} (godot-windows-release, Release Template, yes, template_release) (push) Failing after 1m19s
Fix long tag
2025-12-02 13:39:20 +01:00

57 lines
1.6 KiB
YAML

name: Build Godot Engine
on:
push:
branches: [ "customized-moa" ]
jobs:
build-windows:
name: Build Windows ${{ matrix.name }}
runs-on: ubuntu-latest
# Run on Host (so Checkout works)
strategy:
fail-fast: false
matrix:
include:
- name: Editor
target: editor
production: yes
artifact_name: godot-windows-editor
- name: Debug Template
target: template_debug
production: no
artifact_name: godot-windows-debug
- name: Release Template
target: template_release
production: yes
artifact_name: godot-windows-release
steps:
- name: Checkout Source
uses: actions/checkout@v3
with:
submodules: recursive
- name: Compile with SCons
uses: docker://quay.io/buildah/stable
env:
REGISTRY: gitea.212.63.210.91.nip.io
OWNER: ${{ gitea.repository_owner }}
IMAGE_NAME: godot-builder-windows
IMAGE_TAG: 513d6efc259bb974ee2078adfa5f0994d0796a57
USERNAME: ${{ gitea.actor }}
PASSWORD: ${{ secrets.USER_PACKAGE_PASSWORD }}
# Build Arguments (From Matrix)
PLATFORM: windows
TARGET: ${{ matrix.target }}
PRODUCTION: ${{ matrix.production }}
with:
entrypoint: /bin/sh
# Just run the file! No messy YAML strings.
args: .gitea/workflows/scripts/build-with-buildah.sh
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.artifact_name }}
path: bin/*.exe