This repository was archived by the owner on Aug 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (47 loc) · 1.26 KB
/
validate.yml
File metadata and controls
57 lines (47 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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 iOS'
- os: macos-latest
build-targets: 'StandaloneOSX 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 }}"