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:
13 files changed
+489
-65
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user