Skip to content

Commit 468c97c

Browse files
committed
chore: setup
1 parent b40f7df commit 468c97c

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

.github/workflows/ui-tests.yml

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
build:
14+
windows:
1515
name: Build sample game for AltTester 🛠️
1616
runs-on: windows-2022
1717
steps:
@@ -64,6 +64,54 @@ jobs:
6464
export ALTSERVER_HOST="54.66.58.33"
6565
export ALTSERVER_PORT=13000
6666
pytest -s -v sample/Tests/test.py
67+
macos:
68+
name: Build sample game for AltTester 🛠️
69+
runs-on: macos-15
70+
steps:
71+
- uses: actions/checkout@v3
72+
with:
73+
lfs: true
74+
- uses: actions/cache@v3
75+
with:
76+
path: Library
77+
key: Library-${{ hashFiles('sample/Assets/**', 'sample/Packages/**', 'sample/ProjectSettings/**') }}
78+
restore-keys: |
79+
Library-
80+
- uses: buildalon/unity-setup@v1
81+
with:
82+
unity-version: 2021.3.26f1
83+
build-targets: StandaloneOSX
84+
modules: mac-server
85+
86+
- run: |
87+
echo "UNITY_HUB_PATH: '${{ env.UNITY_HUB_PATH }}'"
88+
echo "UNITY_EDITORS: '${{ env.UNITY_EDITORS }}'"
89+
echo "UNITY_EDITOR_PATH: '${{ env.UNITY_EDITOR_PATH }}'"
90+
echo "UNITY_PROJECT_PATH: '${{ env.UNITY_PROJECT_PATH }}'"
91+
# build:
92+
# name: Build sample game for AltTester 🛠️
93+
# runs-on: macos-15
94+
# steps:
95+
# - uses: actions/checkout@v3
96+
# with:
97+
# lfs: true
98+
# - uses: actions/cache@v3
99+
# with:
100+
# path: Library
101+
# key: Library-${{ hashFiles('sample/Assets/**', 'sample/Packages/**', 'sample/ProjectSettings/**') }}
102+
# restore-keys: |
103+
# Library-
104+
# - uses: buildalon/unity-setup@v1
105+
# with:
106+
# unity-version: 2021.3.26f1
107+
# build-targets: StandaloneOSX
108+
# modules: mac-server
109+
#
110+
# - run: |
111+
# echo "UNITY_HUB_PATH: '${{ env.UNITY_HUB_PATH }}'"
112+
# echo "UNITY_EDITORS: '${{ env.UNITY_EDITORS }}'"
113+
# echo "UNITY_EDITOR_PATH: '${{ env.UNITY_EDITOR_PATH }}'"
114+
# echo "UNITY_PROJECT_PATH: '${{ env.UNITY_PROJECT_PATH }}'"
67115
# test:
68116
# name: Run UI tests on AltTester 🧪
69117
# runs-on: macos-latest

0 commit comments

Comments
 (0)