Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,16 @@ jobs:
lipo -info build/OpenMix.app/Contents/MacOS/OpenMix | grep -q x86_64
lipo -info build/OpenMix.app/Contents/MacOS/OpenMix | grep -q arm64

# the app only uses SQLite; the Mimer driver's missing client library
# makes macdeployqt spew ERRORs, and ODBC/psql draw private-API warnings.
# Prune after configure/build: CMake's imported plugin targets error out
# if the dylibs disappear before configure
- name: Prune unused Qt SQL drivers
run: |
rm -f "$QT_ROOT_DIR/plugins/sqldrivers/"libqsqlmimer*.dylib \
"$QT_ROOT_DIR/plugins/sqldrivers/"libqsqlodbc*.dylib \
"$QT_ROOT_DIR/plugins/sqldrivers/"libqsqlpsql*.dylib

- name: Package (DMG)
run: cd build && cpack -G DragNDrop

Expand Down Expand Up @@ -227,8 +237,14 @@ jobs:
- name: Remove untrusted brew taps
run: brew untap aws/tap 2>/dev/null || true

# fetched from the pinned upstream release (same version CMake bundles);
# the homebrew sparkle cask is deprecated and disabled after 2026-09-01
- name: Install Sparkle tools
run: brew install --cask sparkle || brew install sparkle
run: |
curl -fsSL -o /tmp/sparkle.tar.xz \
https://github.com/sparkle-project/Sparkle/releases/download/2.6.4/Sparkle-2.6.4.tar.xz
mkdir -p /tmp/sparkle
tar -xf /tmp/sparkle.tar.xz -C /tmp/sparkle

- name: Download artifacts
uses: actions/download-artifact@v8
Expand All @@ -243,7 +259,8 @@ jobs:
mkdir -p site/download/${TAG}
cp OpenMix-macos/* OpenMix-windows/* OpenMix-linux/* site/download/${TAG}/ 2>/dev/null || true

SIGN=$(find /opt/homebrew /usr/local -name sign_update -type f 2>/dev/null | head -1)
SIGN=/tmp/sparkle/bin/sign_update
[ -x "$SIGN" ] || SIGN=""
DMG=$(ls OpenMix-macos/*.dmg | head -1)
if [ -n "$SPARKLE_KEY" ] && [ -n "$SIGN" ] && [ -n "$DMG" ]; then
echo "$SPARKLE_KEY" > /tmp/ed_key
Expand Down
3 changes: 2 additions & 1 deletion tests/test_playback_profiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ using namespace OpenMix;
namespace {
LoopbackProtocol* makeConnectedLoopback(QObject* parent) {
auto* mixer = new LoopbackProtocol(MixerCapabilities::forConsole(ConsoleType::X32), parent);
mixer->connect("loopback", 0); // sets state Connected synchronously
[[maybe_unused]] const bool ok = mixer->connect("loopback", 0); // Connected synchronously
Q_ASSERT(ok);
return mixer;
}
} // namespace
Expand Down
Loading