Skip to content

Add per-RID NuGet package smoke test to CI#2

Merged
KevinGliewe merged 2 commits intomainfrom
claude/add-smoke-tests-srTgJ
Apr 16, 2026
Merged

Add per-RID NuGet package smoke test to CI#2
KevinGliewe merged 2 commits intomainfrom
claude/add-smoke-tests-srTgJ

Conversation

@KevinGliewe
Copy link
Copy Markdown
Owner

Introduces a standalone console project
(tests/Rerun.Net.PackageSmokeTest) that consumes the built Rerun.Net
NuGet package via a PackageReference and exercises the full managed
-> native FFI path: version string lookup plus a RecordingStream ->
Save -> Log -> Dispose round-trip that produces a non-empty .rrd file.

A new package-smoke-test CI job downloads the nuget-package artifact
and runs the smoke test on every supported RID (win-x64, win-arm64,
linux-x64, linux-arm64, osx-x64, osx-arm64) using native ARM64 runners
where needed. Deploy now waits on package-smoke-test so a broken
package cannot be published.

The project is intentionally not part of Rerun.Net.slnx: the package
it depends on only exists after the package job runs, so it is built
standalone with an isolated NUGET_PACKAGES cache and a scoped
NuGet.config pointing at the freshly produced artifacts/ folder.

claude added 2 commits April 15, 2026 19:50
Introduces a standalone console project
(tests/Rerun.Net.PackageSmokeTest) that consumes the built Rerun.Net
NuGet package via a PackageReference and exercises the full managed
-> native FFI path: version string lookup plus a RecordingStream ->
Save -> Log -> Dispose round-trip that produces a non-empty .rrd file.

A new package-smoke-test CI job downloads the nuget-package artifact
and runs the smoke test on every supported RID (win-x64, win-arm64,
linux-x64, linux-arm64, osx-x64, osx-arm64) using native ARM64 runners
where needed. Deploy now waits on package-smoke-test so a broken
package cannot be published.

The project is intentionally not part of Rerun.Net.slnx: the package
it depends on only exists after the `package` job runs, so it is built
standalone with an isolated NUGET_PACKAGES cache and a scoped
NuGet.config pointing at the freshly produced artifacts/ folder.
macos-13 (Intel) runners have been deprecated. Switch to macos-latest
(ARM64) and install the x64 .NET SDK via setup-dotnet's architecture
parameter so the smoke test process runs under Rosetta as x86_64.

Also made the dotnet-arch explicit for every matrix entry to keep the
setup step self-documenting.

https://claude.ai/code/session_01GKjza9KsbFiKKxyzXxeAqs
@KevinGliewe KevinGliewe merged commit 3b59543 into main Apr 16, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants