Skip to content

Commit 835e74b

Browse files
committed
chore: ubuntu build
1 parent 7041616 commit 835e74b

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/workflows/ui-tests.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ concurrency:
1212

1313
jobs:
1414
build:
15-
if: github.event.pull_request.head.repo.fork == false
1615
name: Build sample game for AltTester 🛠️
17-
runs-on: windows-2022
16+
runs-on: ubuntu-latest-8-cores
1817
steps:
1918
- uses: actions/checkout@v3
2019
with:
@@ -32,13 +31,31 @@ jobs:
3231
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
3332
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
3433
with:
35-
targetPlatform: StandaloneWindows64
34+
targetPlatform: StandaloneOSX
3635
projectPath: sample
37-
buildMethod: WindowsBuilder.BuildForAltTester
36+
buildMethod: MacBuilder.BuildForAltTester
3837
customParameters: -logFile logFile.log -quit -batchmode
38+
- name: Upload artifact
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: Build-StandaloneOSX
42+
path: sample/**
43+
test:
44+
name: Run UI tests on AltTester 🧪
45+
runs-on: macos-latest
46+
needs: build
47+
steps:
48+
- uses: actions/checkout@v3
49+
with:
50+
lfs: true
51+
- uses: actions/download-artifact@v4
52+
with:
53+
name: Build-StandaloneOSX
3954
- name: Open application
4055
working-directory: sample/Builds/MacOS
4156
run: |
57+
pwd
58+
ls -la
4259
export RUN_IN_BROWSERSTACK="false"
4360
export ALTSERVER_PORT=13005
4461
export ALTSERVER_HOST="192.168.11.35"

0 commit comments

Comments
 (0)