ci: shader bake gate; audits find Qt's qmltypes; builds never re-bake
qml_resolution_audit hard-coded /usr/lib64/qt6/qml, so on a runner it saw zero Qt types and reported every Rectangle as unresolved; it now takes QBZ_QT_QML_DIR (authoritative), then QT_ROOT_DIR, then the distro layouts, and fails loudly when none has plugins.qmltypes. test-crates runs the audits after the Qt install, pointed at it. build.rs re-bakes a shader only when its .frag is newer than its .qsb, which makes a fresh checkout nondeterministic whenever qsb is on PATH. Release and test builds now install Qt without qtshadertools, so the committed .qsb ship as-is, and a new shader-gate job bakes every shader to a temp dir with the pinned qsb using build.rs's own target lists (read from the file, so they cannot drift). It is red today at 6.8.3: plasma.frag's uint literals do not bake for the GLSL 120 target with qsb 6.8 (6.9+ accept them) — that is the finding, not a false positive. cc
This commit is contained in:
5 files changed
+111
-19
No files matched your search
@@ -112,6 +112,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Without qtshadertools: the committed .qsb ship (see build-qt-linux.yml).
|
||||
- name: Install Qt ${{ env.QT_VERSION }} (universal)
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
@@ -119,7 +120,6 @@ jobs:
|
||||
host: mac
|
||||
target: desktop
|
||||
arch: clang_64
|
||||
modules: qtshadertools
|
||||
cache: true
|
||||
|
||||
- name: Setup Rust (stable)
|
||||
|
||||
Reference in new issue
Block a user