ci: cross-build macOS x86_64 on Apple Silicon; drop Windows#147
Merged
rahlk merged 1 commit intoJun 8, 2026
Conversation
GitHub retired the Intel macos-13 hosted runners, so the macos-x86_64 leg sat queued forever and hung the whole release run. Rebuild it on a macos-14 (Apple Silicon) runner: install an x86_64 GraalVM and run native-image under Rosetta 2, which emits an x86_64 binary and x86_64 jmods (native-image has no true cross-target). Drop the Windows wheel entirely. Its build also failed (hatch_build.py looked for 'codeanalyzer' but GraalVM emits 'codeanalyzer.exe' on Windows), and Windows native-image support isn't worth maintaining here. Removes the windows matrix leg, the MSVC setup step, and the now-unused .exe binary fallback. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0c5e5e9
into
146-package-codeanalyzer-java-as-a-pypi-distribution-with-pypi-releaseyml
This was referenced Jun 8, 2026
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.
Why
The
v2.3.7PyPI Release run hung for ~54 min and had to be cancelled. Two problems:macos-x86_64stuck queued forever — it targetedruns-on: macos-13, the Intel hosted runner image GitHub has retired. No runner is ever assigned, so the job (and the whole run) never completes.windows-x86_64build failed —hatch_build.pylooks forcodeanalyzer, but GraalVM emitscodeanalyzer.exeon Windows:(The
musllinux-*legs also failed at musl-toolchain setup, but those areexperimental: true/continue-on-errorand out of scope here.)What
macos-14, install an x86_64 GraalVM by hand, and runnative-imageunder Rosetta 2 (arch -x86_64). The x86_64 toolchain emits an x86_64 binary + x86_64 jmods. GraalVM native-image has no true arm64→x86_64 cross-target, so Rosetta is the supported path.windows-x86_64matrix leg, the MSVC setup step, and the now-unused.exebinary fallback.Notes
graalvm/setup-graalvm; the GraalVM step is now gated torunner.os == 'macOS' && matrix.rosetta != true.v2.3.8) will exercise the full publish path. The originalv2.3.7run was cancelled.🤖 Generated with Claude Code