Skip to content

Commit 4cc821d

Browse files
committed
Corrected artifacts paths
1 parent 660008e commit 4cc821d

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.yamato/console-standalone-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
2828
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
2929

3030
# Platform specific Build
31-
- utr --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=build/logs --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
31+
- utr --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=build/logs --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
3232

3333
variables:
3434
# PS4 related
@@ -41,7 +41,6 @@ build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
4141
NINTENDO_SDK_ROOT: 'C:\Nintendo\nx_sdk-18_3_0\NintendoSDK'
4242
UNITY_NINTENDOSDK_CLI_TOOLS: '${NINTENDO_SDK_ROOT}\Tools\CommandLineTools'
4343
artifacts:
44-
logs:
4544
paths:
4645
- '*.log'
4746
- '*.xml'
@@ -76,7 +75,7 @@ run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }}:
7675
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
7776

7877
# Platform specific Execution
79-
- utr --suite=playmode -testproject={{ project.path }} --artifacts_path=build/logs --player-load-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun
78+
- utr --suite=playmode -testproject={{ project.path }} --artifacts-path=build/logs --player-load-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun
8079

8180
variables:
8281
# PS4 related
@@ -89,7 +88,6 @@ run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }}:
8988
NINTENDO_SDK_ROOT: 'C:\Nintendo\nx_sdk-18_3_0\NintendoSDK'
9089
UNITY_NINTENDOSDK_CLI_TOOLS: '${NINTENDO_SDK_ROOT}\Tools\CommandLineTools'
9190
artifacts:
92-
logs:
9391
paths:
9492
- '*.log'
9593
- '*.xml'

.yamato/desktop-standalone-tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,16 @@ desktop_standalone_build_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
4141
# Build Player
4242
- |
4343
{% if platform.name == "win" %}
44-
utr.bat --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts_path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
44+
utr.bat --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
4545
{% else %}
46-
./utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts_path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
46+
./utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
4747
{% endif %}
4848

4949
artifacts:
50-
players:
5150
paths:
5251
- build/players/**/*
53-
logs:
54-
paths:
5552
- build/logs/**/*
53+
5654
dependencies:
5755
- .yamato/project-pack.yml#project_pack_-_{{ project.name }}
5856
{% endfor -%}
@@ -86,13 +84,12 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
8684
# Run Standalone tests
8785
- |
8886
{% if platform.name == "win" %}
89-
utr.bat --suite=playmode --player-load-path=build/players --artifacts_path=build/test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
87+
utr.bat --suite=playmode --player-load-path=build/players --artifacts-path=build/test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
9088
{% else %}
91-
./utr --suite=playmode --player-load-path=build/players --artifacts_path=build/test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
89+
./utr --suite=playmode --player-load-path=build/players --artifacts-path=build/test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
9290
{% endif %}
9391

9492
artifacts:
95-
logs:
9693
paths:
9794
- build/test-results/**
9895
dependencies:

0 commit comments

Comments
 (0)