diff --git a/.github/workflows/cloud-runner-pipeline.yml b/.github/workflows/cloud-runner-pipeline.yml index 7be80f21..4f302320 100644 --- a/.github/workflows/cloud-runner-pipeline.yml +++ b/.github/workflows/cloud-runner-pipeline.yml @@ -137,3 +137,43 @@ jobs: name: ${{ matrix.cloudRunnerCluster }} Build (${{ matrix.targetPlatform }}) path: ${{ steps.unity-build.outputs.BUILD_ARTIFACT }} retention-days: 14 + + asyncBuildTest: + name: Async Build Test + if: github.event.event_type != 'pull_request_target' + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + cloudRunnerCluster: + - aws + #- local-docker + #- k8s + targetPlatform: + #- StandaloneOSX # Build a macOS standalone (Intel 64-bit). + - StandaloneWindows64 # Build a Windows 64-bit standalone. + #- StandaloneLinux64 # Build a Linux 64-bit standalone. + #- WebGL # WebGL. + #- iOS # Build an iOS player. + #- Android # Build an Android .apk. + steps: + - name: Checkout (default) + uses: actions/checkout@v2 + with: + lfs: false + - run: yarn + - uses: ./ + id: unity-build + timeout-minutes: 90 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + with: + cloudRunnerTests: true + versioning: None + projectPath: test-project + gitPrivateToken: ${{ secrets.GITHUB_TOKEN }} + targetPlatform: ${{ matrix.targetPlatform }} + cloudRunnerCluster: ${{ matrix.cloudRunnerCluster }} + githubChecks: true + asyncCloudRunner: true + watchToEnd: false