Skip to content

Commit 8225e34

Browse files
committed
Add Godot SDK to ci dlls command
1 parent 6332b34 commit 8225e34

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

tools/ci/src/main.rs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,19 @@ fn run_dlls() -> Result<()> {
369369
.dir("sdks/csharp")
370370
.run()?;
371371

372+
cmd!(
373+
"dotnet",
374+
"restore",
375+
"SpacetimeDB.ClientSDK.Godot.csproj",
376+
"--configfile",
377+
&nuget_config_path_str,
378+
"-p:BaseOutputPath=bin~/",
379+
"-p:BaseIntermediateOutputPath=obj~/godot/",
380+
"-p:MSBuildProjectExtensionsPath=obj~/godot/",
381+
)
382+
.dir("sdks/csharp")
383+
.run()?;
384+
372385
overlay_unity_meta_skeleton("spacetimedb.bsatn.runtime")?;
373386
overlay_unity_meta_skeleton("spacetimedb.runtime")?;
374387

@@ -382,6 +395,20 @@ fn run_dlls() -> Result<()> {
382395
)
383396
.dir("sdks/csharp")
384397
.run()?;
398+
399+
cmd!(
400+
"dotnet",
401+
"pack",
402+
"SpacetimeDB.ClientSDK.Godot.csproj",
403+
"-c",
404+
"Release",
405+
"--no-restore",
406+
"-p:BaseOutputPath=bin~/",
407+
"-p:BaseIntermediateOutputPath=obj~/godot/",
408+
"-p:MSBuildProjectExtensionsPath=obj~/godot/"
409+
)
410+
.dir("sdks/csharp")
411+
.run()?;
385412

386413
Ok(())
387414
}

0 commit comments

Comments
 (0)