Skip to content

Commit d28347d

Browse files
authored
Enable tvOS Nightly (#603)
Update build system to build tvOS by default. Change also extends the expanded matrix mode to include tvOS.
1 parent b5ec18a commit d28347d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/build_starter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
required: false
2525
platforms:
2626
description: 'Test Platforms of Android,iOS,Windows,macOS,Linux,Playmode'
27-
default: 'Android,iOS,Windows,macOS,Linux,Playmode'
27+
default: 'Android,iOS,tvOS,Windows,macOS,Linux,Playmode'
2828
required: true
2929
apis:
3030
description: 'CSV of apis to build and test'
@@ -253,7 +253,7 @@ jobs:
253253

254254
trigger_reusable_package:
255255
name: package ${{ needs.check_and_prepare.outputs.release_label }}
256-
needs: [check_and_prepare, build_android, build_ios, build_linux, build_macos, build_windows, decide_build_branch]
256+
needs: [check_and_prepare, build_android, build_ios, build_tvos, build_linux, build_macos, build_windows, decide_build_branch]
257257
uses: ./.github/workflows/package.yml
258258
if: (needs.check_and_prepare.outputs.should_trigger_package == 'true') && !cancelled() && !failure()
259259
with:

.github/workflows/integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
description: 'Build OS (value: windows-latest, macos-latest. Left empty will use macos-latest for iOS platform, windows-latest for the rest)'
1515
platforms:
1616
description: 'CSV of Android,iOS,Windows,macOS,Linux,Playmode'
17-
default: 'Android,iOS,Windows,macOS,Linux,Playmode'
17+
default: 'Android,iOS,tvOS,Windows,macOS,Linux,Playmode'
1818
required: true
1919
apis:
2020
description: 'CSV of apis to build and test'

scripts/gha/print_matrix_configuration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@
5959
MACOS_RUNNER = "macos-latest"
6060
LINUX_RUNNER = "ubuntu-latest"
6161

62-
# TODO @drsanta add TVOS to the platforms once the integration tests can be run on tvOS.
6362
PARAMETERS = {
6463
"integration_tests": {
6564
"matrix": {
6665
"unity_versions": ["2020"],
6766
"build_os": [""],
68-
"platforms": [WINDOWS, MACOS, LINUX, ANDROID, IOS, PLAYMODE],
67+
"platforms": [WINDOWS, MACOS, LINUX, ANDROID, IOS, TVOS, PLAYMODE],
6968
"mobile_devices": ["android_target", "ios_target", "simulator_target", "tvos_simulator"],
7069
"mobile_test_on": ["real"],
7170

0 commit comments

Comments
 (0)