Skip to content

Commit 0271558

Browse files
committed
CI: Add libpcap dependency for build-benches
Add libpcap-dev (Ubuntu) and libpcap (macOS) to build dependencies to fix linking errors when building benchmarks. The webrtc-sniffer tool requires the pcap library for packet capture functionality.
1 parent 27d2834 commit 0271558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/setup-build-deps/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ runs:
1313
shell: bash
1414
run: |
1515
sudo apt update || true
16-
sudo apt install -y protobuf-compiler || true
16+
sudo apt install -y protobuf-compiler libpcap-dev || true
1717
1818
- name: Setup build dependencies (macOS)
1919
if: runner.os == 'macOS'
2020
shell: bash
2121
run: |
22-
brew install protobuf ocaml opam
22+
brew install protobuf ocaml opam libpcap
2323
2424
- name: Install cargo-nextest
2525
if: inputs.install-nextest == 'true'

0 commit comments

Comments
 (0)