cultmesh-rs tests: build the interop peer into the crate target directory and run that
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 32m19s
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 32m19s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
278238cf68
commit
c1122bcdd3
1 changed files with 3 additions and 2 deletions
|
|
@ -493,12 +493,13 @@ impl Csharp {
|
|||
use std::io::{BufRead, BufReader};
|
||||
use std::process::{Command, Stdio};
|
||||
let project = concat!(env!("CARGO_MANIFEST_DIR"), "/../../tests/GameCult.Networking.InteropPeer");
|
||||
let out = concat!(env!("CARGO_MANIFEST_DIR"), "/target/interop-peer");
|
||||
let build = Command::new("dotnet")
|
||||
.args(["build", project, "-c", "Release", "-v", "q", "--nologo"])
|
||||
.args(["build", project, "-c", "Release", "-v", "q", "--nologo", "-o", out])
|
||||
.status()
|
||||
.expect("dotnet builds the interop peer");
|
||||
assert!(build.success());
|
||||
let dll = format!("{project}/bin/Release/net10.0/GameCult.Networking.InteropPeer.dll");
|
||||
let dll = format!("{out}/GameCult.Networking.InteropPeer.dll");
|
||||
let mut command = Command::new("dotnet");
|
||||
command.args([dll.as_str(), "rudp-subscription-serve"]);
|
||||
if let Some(port) = port {
|
||||
|
|
|
|||
Loading…
Reference in a new issue