Skip to content

ci: check the Qt SDK resolver against the published Windows/macOS SDKs (#1878, slice 1) - #1966

Merged
zackees merged 2 commits into
masterfrom
infra/1878-qt-sdk-win-mac
Oct 23, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/1878-qt-sdk-win-mac

Conversation

@zackees

@zackees zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member

Refs #1878 (slice 1 of 2).

  • RED f54f72e06 (rebased): ci/test_ci_scope.py test_qt_sdk_paths_fetch_published_sdks fails locally with AttributeError: 'Scope' object has no attribute 'qt_sdk'.
  • GREEN:
    • ci/ci_scope.py adds a qt_sdk output, set by QT_SDK_PATHS (rust/obs-build/src/qt.rs, src/qt/**, src/platform/qt_sdk.rs, tests/qt_sdk.rs). A hit also selects the macOS and Windows lanes. Full runs set it too.
    • rust-tests gets a Check Published Qt SDK step. It fetches the pinned qt6-6.11.1 asset for its OS with ci/fetch_libs_asset.py (SHA-256 verified), then runs qt_sdk::qt_sdk_resolves_published_sdks with OBS_QT_TEST_{WINDOWS,MACOS}_PREFIX. The step fails if the test skipped.
    • No Actions cache: the Windows SDK alone is 163 MB packed, which is over ci.toml's 64 MB libs-qt budget. The step logs its fetch time.
    • The doc comment of the test (tests/qt_sdk.rs) now names the lanes that set it. That edit also makes this PR's own CI exercise the step.

Local check: with the published macOS SDK, the test passes on Linux for aarch64-apple-darwin and x86_64-apple-darwin (Qt 6.11.1 RELEASE). ./lint passes.

Not in this PR (slice 2): native_test_graph_generates_qt_metaobjects and canonical_remux_queue_runs_unchanged on Windows and macOS hosts (MSVC link, DLL PATH, framework rpath, and CMake).

Tiers: CI configuration only. Tiers 1 to 4 do not apply. No features.md entry.

…ows/macOS SDKs (GREEN, #1878)

ci/ci_scope.py gets a qt_sdk output for the resolver's paths; it also
selects the macOS and Windows lanes, and full runs set it. rust-tests then
fetches the pinned qt6-6.11.1 asset for its OS and runs
qt_sdk_resolves_published_sdks with OBS_QT_TEST_{WINDOWS,MACOS}_PREFIX,
failing if the test skipped.
@zackees
zackees enabled auto-merge October 23, 2026 19:22
@zackees
zackees added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit 17903ec Oct 23, 2026
32 checks passed
@zackees
zackees deleted the infra/1878-qt-sdk-win-mac branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant