Skip to content

Commit fe19772

Browse files
committed
fix(ci): install libpcap-dev on CI runners
The build links against libpcap for packet capture, which requires the development headers to be present on Ubuntu runners.
1 parent 45f628c commit fe19772

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
with:
2222
python-version: '3.13'
2323

24+
- name: Install system dependencies
25+
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
26+
2427
- name: Build wheels and sdist
2528
run: uvx maturin build --release --sdist -o dist
2629

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
target
3232
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3333

34+
- name: Install system dependencies
35+
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
36+
3437
- name: Install dependencies
3538
run: |
3639
uv sync --frozen --no-install-project

0 commit comments

Comments
 (0)