Files
qbz/.github/workflows
vicrodh 7eb278ed58 ci(windows): a qt gate for Windows, on the same triggers as the releases
test-crates.yml's `qt-gate` job proves the Qt frontend on Linux: five QML
audits, the Slint-free dep-graph check, cargo test -p qbz-qt, and an offscreen
boot that fails on a QML complaint or a missing "QbzCore initialized". Windows
had no equivalent, so nothing verified it between one hand-run release and the
next.

Same gates, same complaint regex, same core-init check, so a Windows
regression produces the same shape of evidence as a Linux one.

Triggers follow the repository rule the release workflows already use:
AUTOMATIC ON A `v*` TAG ONLY, with workflow_dispatch always available and
taking an optional ref. No branch push and no pull_request: a Qt build on a
Windows runner is fifteen minutes at twice the Linux rate, and gating every
Linux contributor's PR on a platform that ships explicitly as-is would block
work nobody promised to support. On a tag it runs beside release-windows.yml
and answers a different question -- that job proves the artifact builds and
boots, this one proves the types resolve and the tests are green.

It adds one gate the Linux job does not have: qmllint. `cargo check` sees
nothing of QML, so a wrong type name or a property that does not exist compiles
perfectly and fails at RUNTIME -- and because the failing component hangs off
AppShell, the shell never instantiates and the app opens to a GREY SCREEN. That
happened during this port and reached the owner; qmllint found all three causes
in seconds. Adding it to the Linux job is a Linux change and belongs to Linux.

Two Windows-specific pieces of the smoke: long paths are enabled first, because
cxx-qt deep-copies include trees and qmlcachegen writes ~340 files under
OUT_DIR; and the run gets a private %APPDATA%/%LOCALAPPDATA% rather than the
XDG dirs and private session bus the Linux gate uses, since every store QBZ
opens derives from those and a smoke writing into the runner's real profile can
pass on what a previous run left behind.

cc
2026-08-27 17:50:47 -06:00
..