Skip to content

Unified build-only CI on six platforms; OS-activated Maven profiles - #3

Merged
akki697222 merged 4 commits into
mainfrom
feature/unified-ci
Oct 15, 2026
Merged

akki697222 merged 4 commits into
mainfrom
feature/unified-ci

Conversation

@akki697222

Copy link
Copy Markdown
Member

What changes

Maven: the JNI libraries (wasmtimebinding, witparserbinding) are now built for the host platform with plain cargo. Six host-* profiles in the root pom (Linux/Windows/macOS × x86_64/aarch64) activate themselves from os.name/os.arch, so no -P is needed. The cross/Docker-based profiles are gone; macOS is supported; shuttle-wit-parser now works on every platform.

CI: native.yml and maven.yml are replaced by one ci.yml with jobs guests, native ×6 and java ×6 on GitHub-hosted runners. CI only builds (no tests, no verify); tests run on the developer machine. Rust warnings are errors.

Docs: docs/building.md, README, CLAUDE.md, native/HANDOFF.md updated.

Tested

  • Windows x86_64, no -P, RUSTFLAGS=-D warnings: mvn test passes for all five modules (64 + 4 + 3 tests).
  • native/ with -D warnings: no warnings.
  • Other platforms: this PR's CI.

Not included

  • An all-platform jar (each build packages only its own platform's library).

🤖 Generated with Claude Code

akki697222 and others added 4 commits October 15, 2026 17:50
…files

- Root pom: six host-* profiles (Linux, Windows, macOS x x86_64, aarch64),
  activated from os.name/os.arch. Each sets native.rust.target,
  native.libdir (jar-jni folder) and native.lib.ext.
- shuttle-java: the five cross/host profiles are replaced by one cargo
  build + copy step driven by those properties. No cross or Docker needed;
  macOS is now supported.
- shuttle-wit-parser: same properties, so its library is copied on every
  platform (it was Linux x86_64 only, so its tests failed on Windows).
- WitParserTest.throwsOnUnknownFile compares with the platform's own path
  spelling (backslashes on Windows).

All five modules' tests pass on Windows without -P.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jobs: guests, native x6 and java x6 on GitHub-hosted runners for Linux,
Windows and macOS (x86_64 and arm64). CI only builds (no tests, no
shuttle-runner verify); tests run on the developer machine. Runs on push to
main, every PR and manual dispatch. Rust warnings are errors in both
builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
building.md documents the host-* profiles, platform-independent Maven
commands and ci.yml; fixed known issues are removed from building.md and
wit-codegen.md. README badge and quick start, native/README.md, CLAUDE.md
and HANDOFF (state, decisions, known issues, next steps) updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@akki697222
akki697222 merged commit 99956f1 into main Oct 15, 2026
13 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.

1 participant