CI: cross-build the Wine target (x86_64-pc-windows-gnullvm) on a macOS runner #778
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/783"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T05:13:05Z.
Add a macOS CI job that cross-builds XCL for
x86_64-pc-windows-gnullvm, the Windows ABI target used by Wine hosts such as CrossOver on macOS. This catches target-specific compile failures that the existing MSVC CI cannot see; it does not claim that GitHub's runner can execute XCL or validate a Mac GPU. Related to the macOS contributor work in #258.What is in it
.github/workflows/mac-cross.yml: pinned LLVM-MinGW setup and a workspace/test-binary cross-build on GitHub's macOS runner. Test binaries are built, not executed.Tested
20261117-ucrt-macos-universal, clang 23.1.6.main689f2db477c3c062cf162649781640ef8a977c18and this refreshed PR head5cf217e918cebaf9a715829dd548e6147fb40a7d:cargo build --workspace --locked --target x86_64-pc-windows-gnullvm— passed (15.8 s each).cargo test --no-run --release --locked --target x86_64-pc-windows-gnullvm— passed (40.2 s each); 19 test executables compiled.target/x86_64-pc-windows-gnullvm/release/xcl.exe: 149,323,776 bytes, PE32+ x86-64.Atomic::fetch_update).Regression run
Not tested
Mac cross-buildworkflow has not run yet; its earlier attempt is awaiting first-contributor workflow approval. The suite was compiled but not executed. No Windows full-suite, Wine/GPU test, or retail gameplay result is claimed.AI use
Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T05:15:05Z.
Both
CIandMac cross-buildare sitting at action required — the first-contributor approval to run workflows on my fork — so the macOS job has not executed yet on GitHub.PR checksis green. The job's commands were run here before filing (workspace 14 s, 16 test executables, one warning the Windows build already prints); the numbers are in the description. Happy to rebase if this is not the shape you want a host build check to have.Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T06:06:42Z.
Rebased onto
main97fe3bfso the macOS job runs against current main when it is approved; the patch is byte-identical to what was here before (git patch-id --stable:a67e71f7ace3ab4d255c3928aef5addbada1f35eon both), and the description's numbers were measured onmain6025201with the same toolchain (workspace 14 s, 16 test executables, 113,947,648-bytexcl.exe).CIandMac cross-buildare still waiting on the first-contributor approval.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T11:08:48Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:41:27Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:07:23Z.
Triage (#1607) – head
5cf217eNo open or merged PR adds a gnullvm / macOS cross-build job. The 7 lines shared with #277 are generic workflow boilerplate (checkout, rustup); #277 adds a clippy job, a different change. #2442 only documents a mingw-w64 build.
No problems found in the diff. The job runs on every pull request on a macOS runner and downloads LLVM-MinGW without a checksum check.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.