You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
meta: Cross-compile through Soldr to shrink macOS/Windows CI #700
Today the Rust workspace is cross-checked from Linux through Soldr: clippy, Dylint and check for windows-msvc and both macOS targets, plus a real link for windows-gnu. But nothing for those targets is linked (except windows-gnu) or run on Linux, and the full OBS C/C++/Qt build and releases still need native macOS and Windows runners. Those are the slowest part of PR CI.
Sub-issues are ordered by how much PR wait time each removes.
Status: #695, #696 and #698 are closed; #1075 (libobs cross-compile check from any host) merged. Left: #443 (needs a macOS/Windows host running the local gate), #516 (-Werror ratchet, branch ci/516-werror-ratchet in progress elsewhere), #697 (full-build cross-compile investigation, which #1075 started for libobs). Refs #930.
The link half is unblocked: soldr 0.9.45 exposes soldr cc --target <triple> --print-cc/--print-cxx/--print-linker/--print-sysroot/--print-ar/--print-rc, and on this host a PE exe, a PE DLL, a Mach-O exe and a Mach-O dylib all link from Linux (lld-link, ld64.lld, xwin CRT + Windows SDK, Apple SDK 14.5). build(cross): link libobs and the platform plugins on Linux (win-x64, mac-arm64, mac-x64) #3059 switches cmake/common/soldr.cmake to that interface and turns the check into a real link.
Measured native legs (release run 41007587429): Windows x64 build 12m25 + package 2m15; Windows arm64 9m43 + 1m38; macOS arm64 8m01 + 2m35; macOS x86_64 7m50 + 2m52; Linux x86_64 6m40 + 1m41.
Limits: no win-arm64 cross alias (MSVC ARM64 intrinsics in a public header), and macOS signing/notarization/DMG stay native, so a macOS runner remains in the chain.
Activity
ci: Scope macOS and Windows jobs by hunk content (Refs obs-rust#698, o…
zackees commentedon Oct 16, 2026
Status: #695, #696 and #698 are closed; #1075 (libobs cross-compile check from any host) merged. Left: #443 (needs a macOS/Windows host running the local gate), #516 (-Werror ratchet, branch
ci/516-werror-ratchetin progress elsewhere), #697 (full-build cross-compile investigation, which #1075 started for libobs). Refs #930.zackees commentedon Oct 30, 2026
#697's investigation is answered, and the remaining work is #3059.
cmake/cross, build: Cross-compile libobs for Windows and macOS from any host via soldr #1075).soldr cc --target <triple> --print-cc/--print-cxx/--print-linker/--print-sysroot/--print-ar/--print-rc, and on this host a PE exe, a PE DLL, a Mach-O exe and a Mach-O dylib all link from Linux (lld-link,ld64.lld, xwin CRT + Windows SDK, Apple SDK 14.5). build(cross): link libobs and the platform plugins on Linux (win-x64, mac-arm64, mac-x64) #3059 switchescmake/common/soldr.cmaketo that interface and turns the check into a real link.win-arm64cross alias (MSVC ARM64 intrinsics in a public header), and macOS signing/notarization/DMG stay native, so a macOS runner remains in the chain.