Skip to content

Commit 1eca439

Browse files
committed
Updated model handling in desktop standalone tests
1 parent 4fe48d9 commit 1eca439

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.yamato/desktop-standalone-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
7373
type: {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }}::GPU {% endif %}
7474
image: {{ platform.image }}
7575
flavor: {{ platform.flavor }}
76-
{% if platform.model %}
77-
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
76+
{% if platform.name == mac %}
77+
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile). In this case it's specifically for macOS (if used for win/ubuntu then it will cause rust server to fail connecting)
7878
{% endif %}
7979

8080
# Set additional variables for running the echo server (This is needed ONLY for NGOv2.X because relates to Distributed Authority)
81-
{% if platform.name == "ubuntu" %} # Issues with win and mac are tracked in MTT-11606
81+
{% if platform.name != "win" %} # Issues with win and mac are tracked in MTT-11606
8282
variables:
8383
ECHO_SERVER_PORT: "7788"
8484
# Set this to ensure the DA codec tests will fail if they cannot connect to the echo-server
@@ -91,7 +91,7 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
9191
- UnifiedTestRunner --suite=playmode --player-load-path=build/players --artifacts-path=test-results --testproject={{ project.path }} --editor-location=.Editor --playergraphicsapi=Null --fail-on-assert --reruncount=1 --clean-library-on-rerun --timeout=1800
9292

9393
# If ubuntu, run rust echo server (This is needed ONLY for NGOv2.X because relates to Distributed Authority)
94-
{% if platform.name == "ubuntu" %} # Issues with win and mac are tracked in MTT-11606
94+
{% if platform.name != "win" %} # Issues with win and mac are tracked in MTT-11606
9595
- git clone https://github.com/Unity-Technologies/mps-common-multiplayer-backend.git
9696
# Install rust
9797
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

0 commit comments

Comments
 (0)