-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac89ee6
commit be0ebd9
Showing
3 changed files
with
49 additions
and
52 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
name: Build and test UPM packages for platforms, all branches except main | ||
|
||
on: | ||
pull_request: | ||
branches-ignore: | ||
- 'main' | ||
# Ignore PRs targeting main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Check Unity version required by the package | ||
validate-environment: | ||
name: Get Unity Version from UPM package | ||
uses: realitycollective/reusableworkflows/.github/workflows/getunityversionfrompackage.yml@v2 | ||
with: | ||
build-host: ubuntu-latest | ||
|
||
# Check Unity Hub and Editor Environment | ||
Validate-Unity: | ||
name: Validate Unity Install | ||
needs: validate-environment | ||
uses: realitycollective/reusableworkflows/.github/workflows/validateunityinstall.yml@v2 | ||
with: | ||
build-target: windows | ||
unityversion: ${{ needs.validate-environment.outputs.unityversion }} | ||
|
||
# Run Unity unit tests defined in the package | ||
Run-Unit-Tests: | ||
name: Run Unity Unit Tests | ||
needs: Validate-Unity | ||
uses: realitycollective/reusableworkflows/.github/workflows/rununityUPMbuild.yml@v2 | ||
with: | ||
unityversion: ${{ needs.Validate-Unity.outputs.unityeditorversion }} | ||
dependencies: '[{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"},{"ASADependencies": "github.com/realitycollective/com.realitytoolkit.spatial-persistence.asa.git"},{"development": "github.com/realitycollective/com.realitytoolkit.spatial-persistence.git"},{"development": "github.com/realitycollective/com.realitytoolkit.core.git"},{"development": "github.com/realitycollective/com.realitycollective.utilities.git"},{"development": "github.com/realitycollective/com.realitytoolkit.service-framework.git"}]' | ||
name: Build and test UPM packages for platforms, all branches except main | ||
|
||
on: | ||
pull_request: | ||
branches-ignore: | ||
- 'main' | ||
# Ignore PRs targeting main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Check Unity version required by the package | ||
validate-environment: | ||
name: Get Unity Version from UPM package | ||
uses: realitycollective/reusableworkflows/.github/workflows/getunityversionfrompackage.yml@v2 | ||
with: | ||
build-host: ubuntu-latest | ||
|
||
# Check Unity Hub and Editor Environment | ||
Validate-Unity: | ||
name: Validate Unity Install | ||
needs: validate-environment | ||
uses: realitycollective/reusableworkflows/.github/workflows/validateunityinstall.yml@v2 | ||
with: | ||
build-target: windows | ||
unityversion: ${{ needs.validate-environment.outputs.unityversion }} | ||
|
||
# Run Unity unit tests defined in the package | ||
Run-Unit-Tests: | ||
name: Run Unity Unit Tests | ||
needs: Validate-Unity | ||
uses: realitycollective/reusableworkflows/.github/workflows/rununityUPMbuild.yml@v2 | ||
with: | ||
unityversion: ${{ needs.Validate-Unity.outputs.unityeditorversion }} | ||
dependencies: '[{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"},{"ASADependencies": "github.com/realitycollective/com.realitytoolkit.spatial-persistence.asa.git"},{"development": "github.com/realitycollective/com.realitytoolkit.spatial-persistence.git"},{"development": "github.com/realitycollective/com.realitycollective.utilities.git"},{"development": "github.com/realitycollective/com.realitytoolkit.service-framework.git"}]' | ||
secrets: inherit |
This file contains 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
This file contains 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