Repository navigation
CI: cross-build the Wine target (x86_64-pc-windows-gnullvm) on a macOS runner - #783
mikebuckets171 wants to merge 1 commit into
Conversation
|
Both |
8dfe994 to
97fe3bf
Compare
|
Rebased onto |
97fe3bf to
a7e8cac
Compare
…S runner The Windows job is the only build check, so code that builds only with MSVC reaches main and blocks a host port there. Cross-build the same tree for the target a Wine host compiles with, built only: the runner has no Wine and no GPU, so nothing is executed and no test result is claimed. rustc's gnullvm target links with -nolibc --unwindlib=libunwind, which a GNU GCC driver rejects, so the job installs pinned LLVM-MinGW (clang, lld, UCRT). A separate workflow file: the CI and PR checks required checks are untouched.
a7e8cac to
5cf217e
Compare
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
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