Prove clean .NET Eve package onboarding

This commit is contained in:
Meta Vens 2026-08-18 06:33:40 +02:00
commit d4d24385d1
6 changed files with 41 additions and 12 deletions

View file

@ -27,7 +27,8 @@ if (Test-Path -LiteralPath $outputRoot) {
New-Item -ItemType Directory -Force -Path $outputRoot | Out-Null
foreach ($project in $projects) {
dotnet pack (Join-Path $repoRoot $project) -c $Configuration -o $outputRoot
dotnet pack (Join-Path $repoRoot $project) -c $Configuration -o $outputRoot `
--nologo --verbosity quiet -p:NoWarn=1591%3BCS8632
if ($LASTEXITCODE -ne 0) {
throw "NuGet pack failed for $project with exit code $LASTEXITCODE"
}
@ -82,7 +83,8 @@ Console.WriteLine(verse.Context.VerseId);
"@
[IO.File]::WriteAllText((Join-Path $smokeRoot "Consumer.csproj"), $projectDocument, [Text.UTF8Encoding]::new($false))
[IO.File]::WriteAllText((Join-Path $smokeRoot "Program.cs"), $program, [Text.UTF8Encoding]::new($false))
dotnet run --project (Join-Path $smokeRoot "Consumer.csproj") -c Release
dotnet run --project (Join-Path $smokeRoot "Consumer.csproj") -c Release `
--nologo --verbosity quiet
if ($LASTEXITCODE -ne 0) {
throw "GameCult.Mesh NuGet consumer smoke failed with exit code $LASTEXITCODE"
}

View file

@ -18,6 +18,21 @@ foreach ($requiredPrimitive in @("CultNetOperationServer", "EveSurface.Create"))
}
}
$dotnetPackageRoot = Join-Path ([IO.Path]::GetTempPath()) `
("eve-getting-started-nuget-" + [guid]::NewGuid().ToString("N"))
try {
& (Join-Path $EveRoot "scripts\pack-dotnet-surface.ps1") `
-CultLibRoot $cultLibRoot `
-OutputDirectory $dotnetPackageRoot
if ($LASTEXITCODE -ne 0) {
throw "The clean .NET package-consumer checkpoint failed."
}
} finally {
if (Test-Path -LiteralPath $dotnetPackageRoot) {
Remove-Item -LiteralPath $dotnetPackageRoot -Recurse -Force
}
}
& (Join-Path $PSScriptRoot "verify-eve-two-runtime-sample.ps1") `
-EveRoot $EveRoot `
-SkipDependencyInstall:$SkipDependencyInstall
@ -37,4 +52,4 @@ if ($LASTEXITCODE -ne 0) {
throw "The real browser/C# network checkpoint failed."
}
Write-Host "Eve getting-started verification passed: clean artifacts, DOM and headless convergence, real Chromium and C# clients, Odin discovery, receipts, persistence, and route replacement."
Write-Host "Eve getting-started verification passed: clean .NET and TypeScript artifacts, DOM and headless convergence, real Chromium and C# clients, Odin discovery, receipts, persistence, and route replacement."