Skip to content

Commit 427b2b7

Browse files
committed
chore: add macos and windows build
1 parent ab8b81a commit 427b2b7

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/test-build.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,17 @@ jobs:
4040
with:
4141
name: Coverage results
4242
path: ${{ steps.passportTest.outputs.coveragePath }}
43-
ubuntu-build:
44-
name: Build for ${{ matrix.targetPlatform }}
45-
runs-on: ubuntu-latest-8-cores
43+
windows-build:
44+
name: Windows Build for ${{ matrix.targetPlatform }}
45+
runs-on: windows-2022
4646
strategy:
4747
fail-fast: false
4848
matrix:
4949
targetPlatform:
5050
- iOS
5151
- Android
5252
- WebGL
53+
- StandaloneWindows64
5354
steps:
5455
- uses: actions/checkout@v4
5556
with:
@@ -59,7 +60,7 @@ jobs:
5960
with:
6061
path: Library
6162
key:
62-
Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}-${{ matrix.targetPlatform }}
63+
Library-${{ matrix.targetPlatform }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
6364
restore-keys: |
6465
Library-${{ matrix.targetPlatform }}
6566
Library-
@@ -74,16 +75,19 @@ jobs:
7475
projectPath: './src/Packages/Passport/Samples~/sample'
7576
- uses: actions/upload-artifact@v3
7677
with:
77-
name: Build-${{ matrix.targetPlatform }}
78+
name: Build-windows-${{ matrix.targetPlatform }}
7879
path: build
79-
windows-build:
80-
name: Build for ${{ matrix.targetPlatform }}
81-
runs-on: windows-2022
80+
macos-build:
81+
name: macOS Build for ${{ matrix.targetPlatform }}
82+
runs-on: macos-latest
8283
strategy:
8384
fail-fast: false
8485
matrix:
8586
targetPlatform:
86-
- StandaloneWindows64
87+
- iOS
88+
- Android
89+
- WebGL
90+
- StandaloneOSX
8791
steps:
8892
- uses: actions/checkout@v4
8993
with:
@@ -108,5 +112,5 @@ jobs:
108112
projectPath: './src/Packages/Passport/Samples~/sample'
109113
- uses: actions/upload-artifact@v3
110114
with:
111-
name: Build-${{ matrix.targetPlatform }}
115+
name: Build-macos-${{ matrix.targetPlatform }}
112116
path: build

0 commit comments

Comments
 (0)