88jobs :
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
1415 target : linux-x64
1516 artifact_name : tuisic
1617 asset_name : tuisic-linux-x64
17- - os : windows-latest
18- target : windows-x64
19- artifact_name : tuisic.exe
20- asset_name : tuisic-windows-x64.exe
18+ # - os: windows-latest
19+ # target: windows-x64
20+ # artifact_name: tuisic.exe
21+ # asset_name: tuisic-windows-x64.exe
2122 - os : macos-latest
2223 target : macos-x64
2324 artifact_name : tuisic
@@ -38,12 +39,28 @@ 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 rapidjson-dev
43+ git clone --depth 1 https://github.com/Kistler-Group/sdbus-cpp.git
44+ cd sdbus-cpp
45+ mkdir build && cd build
46+ cmake .. -DCMAKE_BUILD_TYPE=Release
47+ cmake --build .
48+ sudo cmake --build . --target install
4249 elif [ "$RUNNER_OS" == "macOS" ]; then
43- brew install cmake pkg-config fftw mpv curl fmt sdbus-cpp
44- elif [ "$RUNNER_OS" == "Windows" ]; then
45- choco install cmake
46- # Note: Windows build requires vcpkg or manual dependency setup
50+ # Install build tools needed for libsystemd
51+ brew install meson ninja libmng
52+ # Install other dependencies
53+ brew install cmake pkg-config fftw mpv curl fmt rapidjson
54+ # Manually build and install sdbus-c++ for macOS
55+ git clone --depth 1 https://github.com/Kistler-Group/sdbus-cpp.git
56+ cd sdbus-cpp
57+ mkdir build && cd build
58+ cmake .. -DCMAKE_BUILD_TYPE=Release
59+ cmake --build .
60+ sudo cmake --build . --target install
61+ # elif [ "$RUNNER_OS" == "Windows" ]; then
62+ # choco install cmake
63+ # # Note: Windows build requires vcpkg or manual dependency setup
4764 fi
4865 shell : bash
4966
@@ -114,7 +131,7 @@ jobs:
114131 ## Downloads
115132 Download the appropriate binary for your platform:
116133 - **Linux (x64)**: tuisic-linux-x64
117- - **Windows (x64)**: tuisic-windows-x64.exe
134+ # - **Windows (x64)**: tuisic-windows-x64.exe
118135 - **macOS (Intel)**: tuisic-macos-x64
119136 - **macOS (Apple Silicon)**: tuisic-macos-arm64
120137 files : |
0 commit comments