Files
MovementTests/.gitea/workflows/dev-branch.yaml
Minimata b73c1a6dd5
Some checks failed
Create tag and build when new code gets to main / Export (push) Failing after 14s
trying out GDUnit action and checkout v6
2026-01-25 10:18:21 +01:00

51 lines
1.3 KiB
YAML

name: Create tag and build when new code gets to main
run-name: Create tag and build when new code gets to main
on:
push:
branches:
- '**' # matches every branch
- '!main' # except main
- '!release/*' # except release branches
tags-ignore:
- "**"
env:
GAME_NAME: MovementTests
ITCHIO_USERNAME: Minimata
ITCHIO_GAMEID: MovementTests
jobs:
Export:
runs-on: ubuntu-latest
steps:
- name: Install node, curl and zip
run: |
apt update && apt -y install curl zip nodejs
- uses: actions/checkout@v6
with:
lfs: true
# Cache
# - uses: actions/cache@v3
# with:
# path: assets
# key: Assets-${{ hashFiles('**') }}
# restore-keys: |
# Assets-
- uses: godot-gdunit-labs/gdUnit4-action@v1
with:
godot-version: '4.5.1'
godot-net: true
version: 'v6.0.3'
paths: |
res://tests/
timeout: 5
report-name: test_report.xml
- name: Build Windows
run: |
mkdir -v -p build/windows
godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe