1+ {% metadata_file .yamato/project.metafile %}
2+ ---
3+
4+ # Performance tests for the `com.unity.netcode.gameobjects` package. No performance data will be reported.
5+ {% for platform in test_platforms.desktop -%}
6+ {% for editor in validation_editors.all -%}
7+ {% for project in projects.default -%}
8+ performance_editor_tests_-_netcode_macos_trunk_dots_monorepo__no_data_reporting :
9+ name : Performance editor Tests - NGO {{ project.name }} [{{ platform.name }}, {{ editor }}] (No Data Reporting)
10+ agent :
11+ type : {{ platform.type }}
12+ image : {{ platform.image }}
13+ flavor : {{ platform.flavor }}
14+ commands :
15+ # Installing tools
16+ {% if platform.name == "ubuntu" %}
17+ - sudo apt-get update -q
18+ - sudo apt install -qy imagemagick
19+ {% endif %}
20+ - npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
21+ - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
22+
23+ # Platform specific UTR setup
24+ - |
25+ {% if platform.name == "win" %}
26+ curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
27+ {% else %}
28+ curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
29+ {% endif %}
30+
31+ # Installing editor
32+ - unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
33+
34+ # Build Player
35+ - |
36+ {% if platform.name == "win" %}
37+ utr --artifacts-path=artifacts --timeout=3600 --testproject={{ project.path }} --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --suite=editor --dontreportperformancedata --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces
38+ {% else %}
39+ ./utr --artifacts-path=artifacts --timeout=3600 --testproject={{ project.path }} --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --suite=editor --dontreportperformancedata --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces
40+ {% endif %}
41+ artifacts :
42+ logs :
43+ paths :
44+ - " upm-ci~/test-results/**/*"
45+ dependencies :
46+ - .yamato/package-pack.yml#package_pack_-_ngo
47+ {% endfor -%}
48+ {% endfor -%}
49+ {% endfor -%}
0 commit comments