Skip to content

Commit f482f8d

Browse files
miladbarooniclaude
andcommitted
Add Boost dependency to CI workflow
The C++ backend requires Boost for r_c_shortest_paths algorithm. Install libboost-dev (Ubuntu) and boost (macOS) in both test and build-wheels jobs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 837baca commit f482f8d

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
if: runner.os == 'Linux'
2828
run: |
2929
sudo apt-get update
30-
sudo apt-get install -y cmake build-essential
30+
sudo apt-get install -y cmake build-essential libboost-dev
3131
3232
- name: Install system dependencies (macOS)
3333
if: runner.os == 'macOS'
3434
run: |
35-
brew install cmake
35+
brew install cmake boost
3636
3737
- name: Cache pip packages
3838
uses: actions/cache@v4
@@ -115,10 +115,21 @@ jobs:
115115
with:
116116
python-version: ${{ matrix.python-version }}
117117

118+
- name: Install system dependencies (Ubuntu)
119+
if: runner.os == 'Linux'
120+
run: |
121+
sudo apt-get update
122+
sudo apt-get install -y cmake build-essential libboost-dev
123+
124+
- name: Install system dependencies (macOS)
125+
if: runner.os == 'macOS'
126+
run: |
127+
brew install cmake boost
128+
118129
- name: Install build dependencies
119130
run: |
120131
python -m pip install --upgrade pip
121-
pip install build wheel
132+
pip install build wheel pybind11
122133
123134
- name: Build wheel
124135
run: |

0 commit comments

Comments
 (0)