Skip to content

Commit fe999b8

Browse files
committed
cd for each cargo command
1 parent 8a97cbe commit fe999b8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.yamato/desktop-standalone-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,14 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
9090

9191
# If ubuntu, run rust echo server
9292
{% if platform.name == "ubuntu" %}
93-
- git clone https://github.com/Unity-Technologies/mps-common-multiplayer-backend.git
94-
- pushd mps-common-multiplayer-backend/runtime
93+
- |
94+
git clone https://github.com/Unity-Technologies/mps-common-multiplayer-backend.git
9595
# Install rust
9696
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
9797
# Build the echo server
98-
- $HOME/.cargo/bin/cargo build --example ngo_echo_server
98+
- cd ./mps-common-multiplayer-backend && $HOME/.cargo/bin/cargo build --example ngo_echo_server
9999
# Run the echo server in the background - this will reuse the artifacts from the build
100-
- $HOME/.cargo/bin/cargo run --example ngo_echo_server &
101-
- popd
100+
- cd ./mps-common-multiplayer-backend && $HOME/.cargo/bin/cargo run --example ngo_echo_server &
102101
{% endif %}
103102

104103
# Run Standalone tests

0 commit comments

Comments
 (0)