Add libbpf-dev to the dependency list.

This commit is contained in:
Herbert Wolverson 2023-01-11 16:00:24 +00:00
parent 8d9eee8f47
commit 7b18ca4196
2 changed files with 2 additions and 3 deletions

View File

@ -12,10 +12,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname r` run: sudo apt-get update; sudo apt-get install --no-install-recommends python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname r` libbpf-dev
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- name: Build - name: Build
run: pushd src/rust; cargo build --verbose --all; popd run: pushd src/rust; cargo build --verbose --all; popd
- name: Run tests - name: Run tests
run: pushd src/rust; cargo test --verbose --all; popd run: pushd src/rust; cargo test --verbose --all; popd

View File

@ -23,7 +23,7 @@ git checkout v1.4-pre-alpha-rust-integration
You need to have a few packages from `apt` installed: You need to have a few packages from `apt` installed:
``` ```
apt get install -y python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname r` apt get install -y python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname r` libbpf-dev
``` ```
Then you need to install some Python dependencies: Then you need to install some Python dependencies: