Repository navigation
Unified build-only CI on six platforms; OS-activated Maven profiles - #3
Merged
Merged
Conversation
…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>
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 changes
Maven: the JNI libraries (
wasmtimebinding,witparserbinding) are now built for the host platform with plaincargo. Sixhost-*profiles in the root pom (Linux/Windows/macOS × x86_64/aarch64) activate themselves fromos.name/os.arch, so no-Pis needed. The cross/Docker-based profiles are gone; macOS is supported;shuttle-wit-parsernow works on every platform.CI:
native.ymlandmaven.ymlare replaced by oneci.ymlwith jobsguests,native×6 andjava×6 on GitHub-hosted runners. CI only builds (no tests, noverify); tests run on the developer machine. Rust warnings are errors.Docs:
docs/building.md, README, CLAUDE.md,native/HANDOFF.mdupdated.Tested
-P,RUSTFLAGS=-D warnings:mvn testpasses for all five modules (64 + 4 + 3 tests).native/with-D warnings: no warnings.Not included
🤖 Generated with Claude Code