1010desktop_standalone_tests_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ editor }} :
1111 name : Standalone Tests - NGO {{ project.name }} - [{{ platform.name }}, {{ editor }}, {{ backend }}]
1212 agent :
13- type : {% if platform.base == "mac" %} {{ platform.type }} {% else %} {{ platform.type }}::GPU {% endif %}
13+ type : {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }}::GPU {% endif %}
1414 image : {{ platform.image }}
1515 flavor : {{ platform.flavor }}
1616 commands :
1717 # Installing tools
18- {% if platform.base == "ubuntu" %}
18+ {% if platform.name == "ubuntu" %}
1919 - sudo apt-get update -q
2020 - sudo apt install -qy imagemagick
2121{% endif %}
@@ -24,7 +24,7 @@ desktop_standalone_tests_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
2424
2525 # Platform specific UTR setup
2626 - |
27- {% if platform.base == "win" %}
27+ {% if platform.name == "win" %}
2828 curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
2929{% else %}
3030 curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
@@ -35,15 +35,15 @@ desktop_standalone_tests_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
3535
3636 # Build Player
3737 - |
38- {% if platform.base == "win" %}
38+ {% if platform.name == "win" %}
3939 utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend }} --build-only --testfilter=Unity.Netcode.RuntimeTests --extra-editor-arg=-batchmode --extra-editor-arg=-nographics
4040{% else %}
4141 ./utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend }} --build-only --testfilter=Unity.Netcode.RuntimeTests --extra-editor-arg=-batchmode --extra-editor-arg=-nographics
4242{% endif %}
4343
4444 # Run Standalone tests
4545 - |
46- {% if platform.base == "win" %}
46+ {% if platform.name == "win" %}
4747 utr --suite=playmode --platform={{ platform.standalone }} --player-load-path=build/players --artifacts_path=build/test-results --scripting-backend={{ backend }} --testfilter=Unity.Netcode.RuntimeTests
4848{% else %}
4949 ./utr --suite=playmode --platform={{ platform.standalone }} --player-load-path=build/players --artifacts_path=build/test-results --scripting-backend={{ backend }} --testfilter=Unity.Netcode.RuntimeTests
0 commit comments