testing ci
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 23s
Create tag and build when new code gets to main / Export (push) Failing after 3m29s
Create tag and build when new code gets to main / Test (push) Failing after 9m11s

This commit is contained in:
2026-01-28 09:33:21 +01:00
parent b198aba09b
commit 119850a7b4

View File

@@ -36,48 +36,58 @@ jobs:
INITIAL_VERSION: 0.1.0 INITIAL_VERSION: 0.1.0
DEFAULT_BUMP: patch DEFAULT_BUMP: patch
# Test: Test:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# env: env:
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
# steps: steps:
# - name: Install node, xvfb and curl - name: Install node, xvfb and curl
# run: | run: |
# apt update && apt -y install curl nodejs xvfb apt update && apt -y install curl nodejs xvfb
#
# - name: Checkout - name: Checkout
# uses: actions/checkout@v6 uses: actions/checkout@v3
# with: with:
# lfs: false lfs: false
# persist-credentials: true
# - name: Checkout LFS
# - name: Checkout LFS run: |
# run: | UrlBase=$GITHUB_SERVER_URL; \
# git lfs install --local UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
# AUTH=$(git config http.${{ gitea.server_url }}/.extraheader) Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
# AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path) /usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
# git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader /usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
# git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
# git lfs pull git config --local lfs.transfer.maxretries 1
#
# - name: Run tests /usr/bin/git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
# uses: godot-gdunit-labs/gdUnit4-action@v1 /usr/bin/git lfs checkout
# with: /usr/bin/git add .
# godot-version: '4.6.0' /usr/bin/git reset --hard
# godot-net: true
# godot-force-mono: true - name: Run tests
# dotnet-version: 'net9.0' uses: godot-gdunit-labs/gdUnit4-action@v1
# paths: | with:
# res://tests/ godot-version: '4.6'
# timeout: 1 godot-net: true
# publish-report: false godot-force-mono: true
# upload-report: false dotnet-version: 'net9.0'
# paths: |
# - name: Upload test report res://tests/
# uses: actions/upload-artifact@v3-node20 timeout: 1
# with: publish-report: false
# name: Test Report upload-report: false
# path: ${{ github.workspace }}/reports/test-result.html
- name: Upload test report
uses: actions/upload-artifact@v3-node20
with:
name: Test Report
path: ${{ github.workspace }}/reports/test-result.html
- name: Trying build
run: |
mkdir -v -p build/windows
/home/runner/godot-linux/godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
Export: Export:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -133,7 +143,6 @@ jobs:
run: | run: |
rm -rf ${{ gitea.workspace }}/addons/gdUnit4 rm -rf ${{ gitea.workspace }}/addons/gdUnit4
# Replacement while waiting for 4.6 support
- name: Import resources and build solution - name: Import resources and build solution
run: | run: |
godot --headless --editor --build-solutions --quit --import --path $PWD godot --headless --editor --build-solutions --quit --import --path $PWD