This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
unity-setup@v7.5.4 #272
Workflow file for this run
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
name: validate | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
env: | |
UNITY_EDITOR_PATH: '' | |
UNITY_PROJECT_PATH: '' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
validate: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
build-targets: 'StandaloneLinux64 Android iOS' | |
- os: windows-latest | |
build-targets: 'StandaloneWindows64 Android WSAPlayer' | |
- os: macos-13 | |
build-targets: 'StandaloneOSX Android iOS' | |
- os: macos-latest | |
build-targets: 'StandaloneOSX Android iOS VisionOS' | |
steps: | |
- name: checkout self | |
uses: actions/checkout@v4 | |
- run: npm install | |
- name: checkout test project | |
uses: actions/checkout@v4 | |
with: | |
repository: xrtk/com.xrtk.test | |
path: test-project | |
ref: development | |
- uses: ./ # xrtk/unity-setup | |
id: unity-setup | |
with: | |
build-targets: '${{ matrix.build-targets }}' | |
- run: | | |
echo "${{ env.UNITY_EDITOR_PATH }}" | |
echo "${{ env.UNITY_PROJECT_PATH }}" |