ci(linux): pass QMAKE to cxx-qt-build; fix(player): macOS match covers StreamType::Direct

aarch64 runner: cxx-qt-build reported QtMissing with a correct
QT_ROOT_DIR — set QMAKE/CMAKE_PREFIX_PATH explicitly (as macOS/Windows
already do) and print the qmake version before the build.

macOS: StreamType::output_sample_rate (macOS-only) matched Rodio only;
Direct is intentionally not cfg-gated, so the macOS build failed with
E0004. A direct sink answers with its opened rate.

cc
This commit is contained in:
vicrodh committed 2026-08-28 21:03:47 -06:00
1 parent 8f35809df7
commit 37a1a75de1
2 files changed
+11

No files matched your search

+7
View File
@@ -145,7 +145,14 @@ jobs:
# Keep symbols in this build: the unstripped copy is archived for
# crash symbolication, then stripped for every shipped artifact.
CARGO_PROFILE_RELEASE_STRIP: "none"
# EXPLICIT qmake, as the macOS/Windows recipes do. On the arm64
# runner cxx-qt-build failed with "Could not find Qt installation:
# QtMissing" although QT_ROOT_DIR was correct (2026-08-29 run) —
# the PATH lookup is not something to rely on across hosts.
QMAKE: ${{ env.QT_ROOT_DIR }}/bin/qmake
CMAKE_PREFIX_PATH: ${{ env.QT_ROOT_DIR }}
run: |
"$QMAKE" -query QT_VERSION
cargo build --release --manifest-path crates/Cargo.toml -p qbz-qt
cp crates/target/release/qbz qbz-unstripped
strip -o qbz crates/target/release/qbz