8000 ci: consumer-test the fat JAR on every platform, before tagging and after publishing (v3) by adityamukho · Pull Request #14 · project-minigraf/minigraf-java · GitHub
[go: up one dir, main page]

Skip to content

ci: consumer-test the fat JAR on every platform, before tagging and after publishing (v3) - #14

Merged
adityamukho merged 1 commit into
v3from
ci/consumer-tests-v3
Oct 20, 2026
Merged

adityamukho merged 1 commit into
v3from
ci/consumer-tests-v3

Conversation

@adityamukho
Copy link
Copy Markdown
Contributor

The v3 counterpart of #12, cherry-picked with no conflicts. See #12 for the changes. On v3 the v2.x compatibility jobs don't run, because they're gated to PRs targeting main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz

…fter publishing (#12)

- package.yml builds the natives (moved from ci.yml) and the fat JAR at
  the given version into build/m2, checks it holds MiniGrafDb, all 7
  natives and a JNA dependency, and that a clean rebuild is
  byte-identical; build.gradle.kts gets reproducible archives and the
  dist repository.
- consumer-test/: a Gradle project that depends on minigraf-jvm by Maven
  coordinates runs the README quick start (Kotlin) and the consumer
  contract from Java (in memory, file-backed reopen, MiniGrafException);
  run.sh local|registry. readme_sync.py checks the README against it.
- ci.yml: package, consumer test on Linux x64/arm64, macOS, Windows
  x64/arm64 and Alpine, readme-sync; on PRs to main, package and
  consumer-test v2.x with this PR's workflows, since 2.0.x releases use
  main's.
- release.yml: the test job builds and consumer-tests the jar at the
  release version; publish rebuilds it, refuses unless the file set and
  bytes match the tested jar, then signs and publishes; verify-published
  installs it from Maven Central on all six platforms and opens a
  release-broken issue on failure; README versions are stamped.
- README: current version, the real transact output.


Claude-Session: https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@adityamukho
adityamukho merged commit cd12204 into v3 Oct 20, 2026
23 checks passed
@adityamukho
adityamukho deleted the ci/consumer-tests-v3 branch October 20, 2026 20:44
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.

1 participant

0