fix(build): invalidate native objects when the Qt SDK changes

Fingerprint Qt SDK headers for C++ cache inputs and share bounded debug/release startup gates between local tooling and CI.

cx
This commit is contained in:
vicrodh committed 2026-09-06 03:53:05 -06:00
1 parent 088fac93c6
commit 6794e15257
13 files changed
+489 -65

No files matched your search

+2 -2
View File
@@ -132,7 +132,7 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
workspaces: crates -> target
shared-key: qt-macos-${{ matrix.target }}
shared-key: qt-macos-${{ matrix.target }}-${{ env.QT_VERSION }}
cache-on-failure: true
save-if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/pre-release' }}
@@ -145,7 +145,7 @@ jobs:
CXXFLAGS: ${{ matrix.cxxflags }}
MACOSX_DEPLOYMENT_TARGET: "12.0"
run: |
cargo build --release --manifest-path crates/Cargo.toml \
python3 scripts/qt-cargo.py build --release --manifest-path crates/Cargo.toml \
-p qbz-qt --target ${{ matrix.target }}
otool -l "crates/target/${{ matrix.target }}/release/qbz" | grep -A4 LC_BUILD_VERSION | grep minos