Files
MovementTests/.gitea/workflows/dev-branch.yaml
Minimata bf06955c06
Some checks are pending
Create tag and build when new code gets to main / Export (push) Waiting to run
setup dotnet node20
2026-01-25 17:18:16 +01:00

57 lines
1.5 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
- name: Checkout with LFS
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
with:
checkout-version: 3
# Cache
# - uses: actions/cache@v3
# with:
# path: assets
# key: Assets-${{ hashFiles('**') }}
# restore-keys: |
# Assets-
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- 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