Add per-RID NuGet package smoke test to CI#2
Merged
KevinGliewe merged 2 commits intomainfrom Apr 16, 2026
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
packagejob runs, so it is builtstandalone with an isolated NUGET_PACKAGES cache and a scoped
NuGet.config pointing at the freshly produced artifacts/ folder.