File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1414 test :
1515 if : github.event.pull_request.head.repo.fork == false
1616 name : Test sample app 🛠️
17- runs-on : ubuntu-latest-8-cores
17+ # Forcing windows-latest; UWB_WEBVIEW won’t be defined on Linux. Others stay on Ubuntu.
18+ runs-on : ${{ matrix.targetPlatform == 'StandaloneWindows64' && 'windows-latest' || 'ubuntu-latest-8-cores' }}
1819
1920 steps :
2021 - uses : actions/checkout@v3
4748 test-unity6 :
4849 if : github.event.pull_request.head.repo.fork == false
4950 name : Test Unity 6 sample app 🛠️
50- runs-on : ubuntu-latest-8-cores
51+ # Forcing windows-latest; UWB_WEBVIEW won’t be defined on Linux. Others stay on Ubuntu.
52+ runs-on : ${{ matrix.targetPlatform == 'StandaloneWindows64' && 'windows-latest' || 'ubuntu-latest-8-cores' }}
5153 steps :
5254 - uses : actions/checkout@v3
5355 with :
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ concurrency:
2828jobs :
2929 build :
3030 name : Build ${{ matrix.targetPlatform }} for AltTester 🛠️
31- runs-on : ubuntu-latest-8-cores
31+ # Forcing windows-latest for Windows builds; on Linux UWB_WEBVIEW won't be defined and UWB is stripped. Others stay on Ubuntu.
32+ runs-on : ${{ contains(matrix.targetPlatform, 'Windows') && 'windows-latest' || 'ubuntu-latest-8-cores' }}
3233 strategy :
3334 fail-fast : false
3435 matrix :
You can’t perform that action at this time.
0 commit comments