Files
godot/.gitea/workflows/build-engine.yaml
Olof Pettersson 7358ab696e
Some checks failed
Build Godot Engine / Build Windows ${{ matrix.name }} (godot-windows-debug, Debug Template, no, template_debug) (push) Failing after 19s
Build Godot Engine / Build Windows ${{ matrix.name }} (godot-windows-editor, Editor, yes, editor) (push) Failing after 18s
Build Godot Engine / Build Windows ${{ matrix.name }} (godot-windows-release, Release Template, yes, template_release) (push) Has been cancelled
Run in buildah
2025-12-02 13:35:07 +01:00

51 lines
1.4 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
IMAGE_TAG: godot-builder-windows:513d6efc259bb974ee2078adfa5f0994d0796a57
USERNAME: ${{ gitea.actor }}
PASSWORD: ${{ secrets.USER_PACKAGE_PASSWORD }}
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