Skip to content

Commit

Permalink
ci: extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Jan 7, 2025
1 parent b0d01ca commit 8042b29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
unity: ["2022.3.39f1", "6000.0.12f1"] # Test with LTS
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 30 # Unity build takes more than 20min.
steps:
- name: Load secrets
id: op-load-secret
Expand Down Expand Up @@ -56,10 +56,6 @@ jobs:
targetPlatform: StandaloneLinux64
buildMethod: PackageExporter.Export

- uses: Cysharp/Actions/.github/actions/check-metas@main # check meta files
with:
directory: src/UniTask

# Execute UnitTest
# /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod UnitTestBuilder.BuildUnitTest /headless /ScriptBackend IL2CPP /BuildTarget StandaloneLinux64
- name: Build UnitTest (IL2CPP)
Expand All @@ -79,6 +75,10 @@ jobs:
- name: Execute UnitTest
run: ./src/UniTask/bin/UnitTest/StandaloneLinux64_IL2CPP/test

- uses: Cysharp/Actions/.github/actions/check-metas@main # check meta files
with:
directory: src/UniTask

# Store artifacts.
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
if: ${{ startsWith(matrix.unity, '2021') }} # only execute 2021
Expand Down

0 comments on commit 8042b29

Please sign in to comment.