Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
with:
name: criterion-reports
path: goud_engine/target/criterion/
retention-days: 30
retention-days: 7
32 changes: 19 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
needs: [preflight]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: ${{ (github.event_name != 'pull_request' || (matrix.os == 'ubuntu-latest' && matrix.rust == 'stable' && matrix.lane == 'full')) && 'true' || 'false' }}
strategy:
fail-fast: ${{ github.event_name == 'pull_request' }}
matrix:
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
with:
name: coverage-report
path: coverage-report/
retention-days: 7
retention-days: 1

- name: Upload coverage to Codecov
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' && github.event_name == 'merge_group'
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
needs: [preflight]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: ${{ github.event_name != 'pull_request' && 'true' || 'false' }}
steps:
- uses: actions/checkout@v6

Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
needs: [preflight]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: ${{ github.event_name != 'pull_request' && 'true' || 'false' }}
strategy:
fail-fast: ${{ github.event_name == 'pull_request' }}
matrix:
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
name: native-release-${{ matrix.os }}
path: native-release/
if-no-files-found: error
retention-days: 7
retention-days: 1

# Python SDK checks and tests
python-sdk-check:
Expand Down Expand Up @@ -470,6 +470,7 @@ jobs:
name: python-coverage
path: sdks/python/coverage.xml
if-no-files-found: error
retention-days: 3

# .NET SDK checks and tests
dotnet-check:
Expand Down Expand Up @@ -553,13 +554,15 @@ jobs:
with:
name: dotnet-test-results-${{ matrix.os }}
path: '**/test-results.trx'
retention-days: 3

- name: Upload C# coverage results
uses: actions/upload-artifact@v4
if: always()
with:
name: dotnet-coverage-${{ matrix.os }}
path: 'sdks/csharp.tests/TestResults/${{ matrix.os }}/coverage/coverage.cobertura.xml'
retention-days: 3

# Build check to ensure everything compiles together
integration-build:
Expand All @@ -569,7 +572,7 @@ jobs:
needs: [preflight]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: ${{ github.event_name != 'pull_request' && 'true' || 'false' }}
strategy:
fail-fast: ${{ github.event_name == 'pull_request' }}
matrix:
Expand Down Expand Up @@ -647,7 +650,7 @@ jobs:
needs: [preflight]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: ${{ (github.event_name != 'pull_request' || matrix.os == 'ubuntu-latest') && 'true' || 'false' }}
strategy:
fail-fast: ${{ github.event_name == 'pull_request' }}
matrix:
Expand Down Expand Up @@ -762,14 +765,15 @@ jobs:
name: ts-coverage
path: sdks/typescript/coverage/native/cobertura-coverage.xml
if-no-files-found: error
retention-days: 3

- name: Upload native addon
if: github.event_name != 'pull_request' || matrix.os == 'ubuntu-latest'
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: ts-native-${{ matrix.os }}
path: sdks/typescript/*.node
retention-days: 7
retention-days: 1

# TypeScript SDK — wasm build (Ubuntu only, one platform sufficient)
typescript-sdk-wasm:
Expand All @@ -779,7 +783,7 @@ jobs:
needs: [preflight]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: ${{ github.event_name != 'pull_request' && 'true' || 'false' }}

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -861,16 +865,18 @@ jobs:
name: ts-web-coverage
path: sdks/typescript/coverage/web/cobertura-coverage.xml
if-no-files-found: error
retention-days: 3

- name: Upload wasm artifacts
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: ts-wasm
path: |
sdks/typescript/wasm/*.wasm
sdks/typescript/wasm/*.js
sdks/typescript/wasm/*.d.ts
retention-days: 7
retention-days: 1

# C++ SDK tests (non-GL only, headless CI safe)
# Windows C++ CI is excluded: MSVC support is scaffolded in FindGoudEngine.cmake
Expand Down Expand Up @@ -1219,12 +1225,12 @@ jobs:
adb shell pm list packages | grep -q "com.goudengine.flappybird"

- name: Upload Android smoke test screenshot
if: always()
if: failure()
uses: actions/upload-artifact@v4
with:
name: android-smoke-screenshot
path: android-smoke-test.png
retention-days: 7
retention-days: 1

# C SDK tests (CMake-based, needs native library)
c-sdk-check:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
with:
name: rust-outdated-report
path: outdated.md
retention-days: 3

dotnet-security:
name: .NET Security Scan
Expand Down Expand Up @@ -260,4 +261,4 @@ jobs:

if [ -f outdated.md ]; then
cat outdated.md >> $GITHUB_STEP_SUMMARY
fi
fi
Loading