@@ -78,7 +78,7 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
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
@@ -87,11 +87,8 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
8787{% endif %}
8888
8989 commands :
90- - unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %} {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models
91- - 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
92-
9390# 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
91+ {% if platform.name != "win " %} # Issues with win and mac are tracked in MTT-11606
9592 - git clone https://github.com/Unity-Technologies/mps-common-multiplayer-backend.git
9693 # Install rust
9794 - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
@@ -101,6 +98,8 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
10198 - cd ./mps-common-multiplayer-backend/runtime && $HOME/.cargo/bin/cargo run --example ngo_echo_server -- --port $ECHO_SERVER_PORT &
10299{% endif %}
103100
101+ - unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %} {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models
102+ - 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
104103 artifacts :
105104 logs :
106105 paths :
0 commit comments