Repository navigation
ci: Cross-compile the Windows/macOS host groups a PR touches (#1294) - #2407
Merged
Merged
Conversation
zackees
enabled auto-merge
October 25, 2026 18:42
Member
Author
|
Coordinator: two separate failures in run 40222529450, both caused by this change.
(The |
zackees
force-pushed
the
ci/1294-cross-c-pr
branch
from
October 25, 2026 18:53
a5cf278 to
22c856b
Compare
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.
Part 2 of #1294: PR CI now compiles the Windows and macOS host groups a PR touches.
What changes
ci/ci_scope.pyhas a newcross_targetsoutput:win-x64,mac-arm64, both, or none. A change selects an alias when it touches either of these:cmake/cross/CMakeLists.txtnames byDIR;cmake/cross/,cmake/common/soldr.cmake).Full runs (schedule, dispatch, tags, the release gate) select both.
build-project.yamlhas a new job,Cross Compile 🧰, onubuntu-26.04. It runscmake/crossfor those aliases: compile-only, soldr's LLVM and SDKs, no app build. A PR with no host C/C++ change skips it, so it costs nothing there. There is no new workflow file.Docs:
docs/ci-tooling.mdand the comments inci/test_cross_sources.pyandcmake/cross/CMakeLists.txtsay the check now runs in CI. The CMakeLists comment change also makes this PR run the new job.Tests
ci/test_cross_scope.py(c162bab1b) fails on master with an ImportError:cross_targetsdoesn't exist yet.test_cross_scopeandtest_ci_scopepass. So do the workflow tests I ran:test_gate_jobs,test_ci_toml,test_runner_pools,test_workflow_duplicate_keys,test_reusable_permissions,test_master_push_scope,test_cross_sources,test_ci_pre,test_lane_proof, and more.cmake/cross/docker.sh win-x64 mac-arm64on masterb652da8d2exits 0, so the job starts green.Not covered yet
The acceptance case "fails on a reverted #2359" is not met.
frontend/build/frontend-windows-obs-main.pch.hppincludesOBSApp.hpp, which needs Qt headers and the generated moc/uic files. The cross check has no Qt, socross_targetsdeliberately leaves frontend Qt groups out, andtest_cross_scopepins that. I'll file a follow-up issue for adding the frontend's Qt groups (the Windows/macOS Qt6 prebuilt plus host moc/uic) to the cross check.Refs #1294 (part 2). It stays open for that follow-up.