-
Notifications
You must be signed in to change notification settings - Fork 34
52 lines (52 loc) · 1.26 KB
/
test-macos.yml
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
name: test macos
on:
workflow_dispatch:
push:
branches:
- "**"
paths-ignore:
- "**.md"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
unity-version:
- 2018.4.1f1
- 2019.4.1f1
- 2020.3.1f1
- 2021.3.5f1
- 2022.1.7f1
unity-module:
# - android # may freeze on macOS
- ios
- appletv
- webgl
- linux-mono
- mac-il2cpp
- windows-mono
exclude:
- unity-version: 2018.4.1f1
unity-module: linux-mono
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check free space
run: df -h
- name: Setup unity
id: setup-unity
uses: ./
timeout-minutes: 60
with:
unity-version: ${{ matrix.unity-version }}
unity-modules: ${{ matrix.unity-module }}
- name: Check free space
run: df -h
- name: Print output
run: |
echo unity-version: ${{ steps.setup-unity.outputs.unity-version }}
echo unity-path: ${{ steps.setup-unity.outputs.unity-path }}
echo env UNITY_PATH: ${{ env.UNITY_PATH }}