Skip to content

Commit 37a3a72

Browse files
committed
Update release.yml to include sdbus-c++ & rapidjson dependency
1 parent 81c1ac0 commit 37a3a72

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
build:
1010
strategy:
11+
fail-fast: false # Add this line to prevent all jobs from stopping on a single failure
1112
matrix:
1213
include:
1314
- os: ubuntu-latest
@@ -38,9 +39,19 @@ jobs:
3839
run: |
3940
if [ "$RUNNER_OS" == "Linux" ]; then
4041
sudo apt-get update
41-
sudo apt-get install -y build-essential cmake pkg-config libfftw3-dev libmpv-dev libcurl4-openssl-dev libfmt-dev libsystemd-dev
42+
sudo apt-get install -y build-essential cmake pkg-config libfftw3-dev libmpv-dev libcurl4-openssl-dev libfmt-dev libsystemd-dev libsdbus-c++-dev rapidjson-dev
4243
elif [ "$RUNNER_OS" == "macOS" ]; then
43-
brew install cmake pkg-config fftw mpv curl fmt sdbus-cpp
44+
# Install build tools needed for libsystemd
45+
brew install meson ninja
46+
# Install other dependencies
47+
brew install cmake pkg-config fftw mpv curl fmt rapidjson
48+
# Manually build and install sdbus-c++ for macOS
49+
git clone --depth 1 https://github.com/Kistler-Group/sdbus-cpp.git
50+
cd sdbus-cpp
51+
mkdir build && cd build
52+
cmake .. -DCMAKE_BUILD_TYPE=Release -DSDBUSCPP_BUILD_LIBSYSTEMD=ON
53+
cmake --build .
54+
sudo cmake --build . --target install
4455
elif [ "$RUNNER_OS" == "Windows" ]; then
4556
choco install cmake
4657
# Note: Windows build requires vcpkg or manual dependency setup

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
- [ ] Multi souce lyrics
77
- [X] Auto Play next song.
88
- [X] Setup cavacore
9-
- [ ] Background Play (Daemon mode)
10-
- [ ] Expose to MPRIS dbus
9+
- [X] Background Play (Daemon mode)
10+
- [X] Expose to MPRIS dbus

0 commit comments

Comments
 (0)