Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .yamato/console-standalone-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
# Each console requires specific SDK paths and tools

# QUALITY THOUGHTS--------------------------------------------------------------------
# TODO: consider adding all projects that have tests
# To see where this job is included (in trigger job definitions) look into _triggers.yml file


Expand All @@ -51,16 +50,16 @@ console_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
{% endif %}
commands:
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor -c il2cpp -c {{ platform.name }}
- UnifiedTestRunner --testproject={{ project.path }} --architecture={% if platform.name == "switch" %}arm64{% else %}x64{% endif %} --scripting-backend=il2cpp --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --artifacts-path=artifacts --player-save-path=build/players --testfilter="Unity.Netcode.RuntimeTests.*" --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout={{ test_timeout}}
- UnifiedTestRunner --testproject={{ project.path }} --architecture={% if platform.name == "switch" %}arm64{% else %}x64{% endif %} --scripting-backend=il2cpp --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --artifacts-path=artifacts --player-save-path=build/players --testfilter="Unity.Netcode.RuntimeTests.*" --extra-editor-arg=-batchmode --extra-editor-arg=-nographics{% if platform.name == "switch" %} --extra-editor-arg=-overrideTextureCompression --extra-editor-arg=ForceUncompressed{% endif %} --reruncount=1 --clean-library-on-rerun --build-only --timeout={{ test_timeout}}
variables:
# PS4 related
SCE_ORBIS_SDK_DIR: 'C:\Users\bokken\SCE\ps4_sdk_12_00'
# PS5 related --> THIS WAS DISABLED IN PROJECT.METAFILE. SEE MTT-12118
SCE_PROSPERO_SDK_DIR: 'C:\Program Files (x86)\SCE\Prospero SDKs\9.000'
SHADER_COMPILER_PATH: '${SCE_PROSPERO_SDK_DIR}\target\bins'
# PS5 related --> win10-ps5:v4 ships SDK 13.000 but defaults SCE_PROSPERO_SDK_DIR to an unsupported version, so set it explicitly.
SCE_PROSPERO_SDK_DIR: 'C:\Program Files (x86)\SCE\Prospero SDKs\13.000'
SHADER_COMPILER_PATH: '${SCE_PROSPERO_SDK_DIR}\host_tools\bin'
SCE_ROOT_DIR: 'C:\Program Files (x86)\SCE'
# Switch related
NINTENDO_SDK_ROOT: 'C:\Nintendo\nx_sdk-18_3_0\NintendoSDK'
# Switch related --> Switch is DISABLED in project.metafile (MTT-15636): 6000.x/trunk editors mandate NintendoSDK 22.2.x, which is not installed on win10-switch:v4 (only nintendosdk-en-21_4_0 is). This target path is correct for when PETS ships 22.2.x and Switch is re-enabled.
NINTENDO_SDK_ROOT: 'C:\Nintendo\nintendosdk-en-22_2_0\NintendoSDK'
UNITY_NINTENDOSDK_CLI_TOOLS: '${NINTENDO_SDK_ROOT}\Tools\CommandLineTools'
artifacts:
players:
Expand Down Expand Up @@ -94,12 +93,12 @@ console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}:
variables:
# PS4 related
SCE_ORBIS_SDK_DIR: 'C:\Users\bokken\SCE\ps4_sdk_12_00'
# PS5 related --> THIS WAS DISABLED IN PROJECT.METAFILE. SEE MTT-12118
SCE_PROSPERO_SDK_DIR: 'C:\Program Files (x86)\SCE\Prospero SDKs\9.000'
SHADER_COMPILER_PATH: '${SCE_PROSPERO_SDK_DIR}\target\bins'
# PS5 related --> win10-ps5:v4 ships SDK 13.000 but defaults SCE_PROSPERO_SDK_DIR to an unsupported version, so set it explicitly.
SCE_PROSPERO_SDK_DIR: 'C:\Program Files (x86)\SCE\Prospero SDKs\13.000'
SHADER_COMPILER_PATH: '${SCE_PROSPERO_SDK_DIR}\host_tools\bin'
SCE_ROOT_DIR: 'C:\Program Files (x86)\SCE'
# Switch related
NINTENDO_SDK_ROOT: 'C:\Nintendo\nx_sdk-18_3_0\NintendoSDK'
# Switch related --> Switch is DISABLED in project.metafile (MTT-15636): 6000.x/trunk editors mandate NintendoSDK 22.2.x, which is not installed on win10-switch:v4 (only nintendosdk-en-21_4_0 is). This target path is correct for when PETS ships 22.2.x and Switch is re-enabled.
NINTENDO_SDK_ROOT: 'C:\Nintendo\nintendosdk-en-22_2_0\NintendoSDK'
UNITY_NINTENDOSDK_CLI_TOOLS: '${NINTENDO_SDK_ROOT}\Tools\CommandLineTools'
artifacts:
logs:
Expand Down
36 changes: 17 additions & 19 deletions .yamato/project.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,15 @@ test_platforms:
flavor: b1.large
larger_flavor: b1.xlarge
standalone: PS4
# - name: ps5 --> SEE MTT-12118
# type: Unity::VM
# image: package-ci/win10-ps5:v4
# flavor: b1.large
# larger_flavor: b1.xlarge
# standalone: PS5
# - name: switch --> TEMPORARILY DISABLED. SEE MTT-12118
# The NintendoSDK on the win10-switch:v4 Bokken image is incomplete for the SDK
# version the newer editor Playback Engines require: 18_3_0 is missing the
# nintendo-switch-support lib the new toolchain links against, and 21_4_3 is missing the
# Tools\Graphics\NvnTools (GraphicsConverter) libraries needed to package textures.
# Neither is fixable from .yamato; re-enable once Package CI ships a complete SDK on the image.
# ps5: win10-ps5:v4 defaults SCE_PROSPERO_SDK_DIR to an unsupported SDK, so it is overridden to 13.000 in console-standalone-test.yml.
- name: ps5
type: Unity::VM
image: package-ci/win10-ps5:v4
flavor: b1.large
larger_flavor: b1.xlarge
standalone: PS5
# switch --> DISABLED. SEE MTT-15636 (split from MTT-12118). 6000.x/trunk editors mandate NintendoSDK 22.2.x, but package-ci/win10-switch:v4 currently ships only nintendosdk-en-21_4_0. That fixes texture packaging but the native IL2CPP link then fails (undefined symbol std::__1::__hash_memory, from the 22_02 SwitchPlayer.a). Re-enable once PETS publishes a win10-switch image with nintendosdk-en-22_2_x.
# - name: switch
# type: Unity::VM
# image: package-ci/win10-switch:v4
# flavor: b1.large
Expand All @@ -147,13 +144,14 @@ test_platforms:
flavor: b1.large
larger_flavor: b1.xlarge
standalone: PS4
#- name: ps5 --> SEE MTT-12118
# type: Unity::console::ps5
# image: package-ci/win10-ps5:v4
# flavor: b1.large
# larger_flavor: b1.xlarge
# standalone: PS5
# - name: switch --> TEMPORARILY DISABLED. SEE MTT-12118 (incomplete NintendoSDK on win10-switch:v4 image)
- name: ps5
type: Unity::console::ps5
image: package-ci/win10-ps5:v4
flavor: b1.large
larger_flavor: b1.xlarge
standalone: PS5
# switch --> DISABLED. SEE MTT-15636 (needs NintendoSDK 22.2.x on the image; see console_build note).
# - name: switch
# type: Unity::console::switch
# image: package-ci/win10-switch:v4
# flavor: b1.large
Expand Down
Loading