Repository navigation
fix: usable archives on every platform; consumer-test every build (v3) - #6
Merged
Merged
Conversation
…st every build The Windows zip had no minigraf.dll.lib, so MSVC could not link against it; no archive shipped the license files; the header sat at the root of the Windows zip but under include/ elsewhere; Linux libraries needed the build runner's glibc (2.34). - package.yml builds the four release archives with one layout (library, minigraf.dll.lib on Windows, include/minigraf.h, licenses); Linux via cargo-zigbuild at glibc 2.17 with a floor check; macOS checks both universal2 slices. - consumer-test/: run.sh unpacks this platform's archive, compiles the README quick start and contract.c (in memory, file-backed reopen, NULL plus minigraf_last_error for invalid Datalog) with cc, or cl and the import library on Windows, and runs them; local|registry. readme_sync.py checks the README quick start against quickstart.c. - ci.yml: package, consumer test on the four platforms, readme-sync. - release.yml: the test job builds and consumer-tests the archives at the release version; publish uploads exactly those files; verify-published downloads them from the release and opens a release-broken issue on failure. - README: archive contents, glibc floor, the MSVC compile line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz
rustc recorded the build directory as LC_ID_DYLIB, so every program linked against the released dylib looked for it on the CI runner and failed to start. Found by the macOS consumer test; 2.0.8 is affected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz
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.
The
v3counterpart of #5, cherry-picked with no conflicts. See #5 for the bugs fixed and the changes. Thev3-only C smoke test (tests/c/etl_smoke.c) stays as it is.🤖 Generated with Claude Code
https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz