refactor(engine): remove unused collision batch code (#1445) #2403
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 🔗 GHA | |
| on: [push, pull_request, merge_group] | |
| concurrency: | |
| group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-runner | |
| cancel-in-progress: true | |
| jobs: | |
| static-checks: | |
| name: Static checks | |
| uses: ./.github/workflows/static_checks.yml | |
| go-builds: | |
| name: Go builds | |
| uses: ./.github/workflows/go_builds.yml | |
| android-build: | |
| needs: static-checks | |
| name: Build Android APK | |
| uses: ./.github/workflows/build_android.yml | |
| ios-build: | |
| needs: static-checks | |
| name: Build iOS IPA | |
| uses: ./.github/workflows/build_ios.yml | |
| web-build: | |
| needs: static-checks | |
| name: Build web bundle | |
| uses: ./.github/workflows/build_web.yml | |
| linux-build: | |
| needs: static-checks | |
| name: Build Linux | |
| uses: ./.github/workflows/build_linux.yml | |
| macos-build: | |
| needs: static-checks | |
| name: Build macOS | |
| uses: ./.github/workflows/build_macos.yml | |
| windows-build: | |
| needs: static-checks | |
| name: Build Windows | |
| uses: ./.github/workflows/build_windows.yml | |
| ci-gate: | |
| if: always() | |
| needs: | |
| - static-checks | |
| - go-builds | |
| - android-build | |
| - ios-build | |
| - web-build | |
| - linux-build | |
| - macos-build | |
| - windows-build | |
| name: CI gate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Verify all required jobs passed | |
| env: | |
| STATIC_CHECKS_RESULT: ${{ needs.static-checks.result }} | |
| GO_BUILDS_RESULT: ${{ needs.go-builds.result }} | |
| ANDROID_BUILD_RESULT: ${{ needs.android-build.result }} | |
| IOS_BUILD_RESULT: ${{ needs.ios-build.result }} | |
| WEB_BUILD_RESULT: ${{ needs.web-build.result }} | |
| LINUX_BUILD_RESULT: ${{ needs.linux-build.result }} | |
| MACOS_BUILD_RESULT: ${{ needs.macos-build.result }} | |
| WINDOWS_BUILD_RESULT: ${{ needs.windows-build.result }} | |
| run: | | |
| set -euo pipefail | |
| for item in \ | |
| "static-checks:$STATIC_CHECKS_RESULT" \ | |
| "go-builds:$GO_BUILDS_RESULT" \ | |
| "android-build:$ANDROID_BUILD_RESULT" \ | |
| "ios-build:$IOS_BUILD_RESULT" \ | |
| "web-build:$WEB_BUILD_RESULT" \ | |
| "linux-build:$LINUX_BUILD_RESULT" \ | |
| "macos-build:$MACOS_BUILD_RESULT" \ | |
| "windows-build:$WINDOWS_BUILD_RESULT" | |
| do | |
| job_name="${item%%:*}" | |
| job_result="${item#*:}" | |
| if [ "$job_result" != "success" ]; then | |
| echo "$job_name did not succeed: $job_result" | |
| exit 1 | |
| fi | |
| done | |
| echo "All required CI jobs passed." | |
| # Third stage: Run auxiliary tests using build artifacts from previous jobs. | |
| # Can be turned off for PRs that intentionally break compat with godot-cpp, | |
| # until both the upstream PR and the matching godot-cpp changes are merged. |