Skip to content

Commit 7bf91dc

Browse files
committed
build(xdp): add missing pkg deps for libbpf-sys
1 parent 906dae5 commit 7bf91dc

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
submodules: recursive
3131
- uses: dtolnay/rust-toolchain@stable
32-
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint libtool -y
32+
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint flex bison gawk libtool -y
3333
- uses: Swatinem/rust-cache@v2
3434
- run: cargo check --workspace --all-features
3535
- run: cargo build --workspace --all-features
@@ -45,7 +45,7 @@ jobs:
4545
- uses: dtolnay/rust-toolchain@stable
4646
with:
4747
components: clippy
48-
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint libtool -y
48+
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint flex bison gawk libtool -y
4949
- uses: Swatinem/rust-cache@v2
5050
- run: cargo clippy --workspace --all-features --tests -- -Dwarnings
5151
# - uses: giraffate/clippy-action@v1

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
submodules: recursive
4141
- uses: dtolnay/rust-toolchain@stable
42-
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint libtool -y
42+
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint flex bison gawk libtool -y
4343
- name: Cache LLVM and Clang
4444
id: cache-llvm
4545
uses: maxnowack/local-cache@v2

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
submodules: recursive
3535
- uses: dtolnay/rust-toolchain@stable
36-
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint libtool -y
36+
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint flex bison gawk libtool -y
3737
- name: Cache LLVM and Clang
3838
id: cache-llvm
3939
uses: maxnowack/local-cache@v2

dist-workspace.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ libmnl-dev = "*"
3939
autoconf = "*"
4040
automake = "*"
4141
autopoint = "*"
42+
flex = "*"
43+
bison = "*"
44+
gawk = "*"
4245
libtool = "*"
4346
musl-tools = "*"
4447
libargs-dev = "*"

0 commit comments

Comments
 (0)