ci: build and release for macOS and Linux#16
Merged
Conversation
The app is fully managed/portable (managed C# WSQ decoder, no native deps), so extend CI to all desktop targets: - build.yml: matrix build + test across windows-latest, macos-latest, ubuntu-latest (proves portability on every PR). - release.yml: matrix publish of self-contained single-file binaries for win-x64, osx-arm64, osx-x64, linux-x64; per-OS zip; artifacts collected by a single release job (avoids the parallel-release race). - README: macOS/Linux download instructions; mark macOS/Linux builds done; correct the WSQ "NBIS bindings" claim to the actual managed decoder. - project_context.md: same WSQ correction. macOS/Linux binaries are unsigned (same as the existing Windows zip); signing stays roadmapped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Extend CI/CD from Windows-only to Windows + macOS + Linux.
build.yml→ matrix build + test acrosswindows-latest,macos-latest,ubuntu-latest. This PR's own checks verify cross-platform build & tests.release.yml→ matrix publish of self-contained single-file binaries forwin-x64,osx-arm64,osx-x64,linux-x64; each zipped; a single downstreamreleasejob collects all artifacts and publishes once (avoids the parallel same-tag release race).WsqDecoder.cs, "Managed.Wsq-derived, System.Drawing removed for cross-platform compatibility") with zero native interop. Corrected in README + project_context.Why this is safe / works (not just compiles)
The app has no
DllImport/native libs and no platform-locked packages — WSQ decode is pure managed C#. So macOS/Linux binaries genuinely run. The matrixbuild.ymlon this PR is the proof.Notes
macos-latest/macos-13runners do the builds.🤖 Generated with Claude Code