Skip to content

Commit

Permalink
do not install xdp tools in ci
Browse files Browse the repository at this point in the history
Signed-off-by: Ric Li <[email protected]>
  • Loading branch information
ricmli committed Dec 28, 2023
1 parent 44e4124 commit e242863
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/afxdp_build_with_gtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,9 @@ jobs:
ref: v${{ env.DPDK_VERSION }}
path: dpdk

- name: Checkout xdp-tools
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: 'xdp-project/xdp-tools'
path: xdp-tools
submodules: recursive

- name: Install the build dependency
run: |
sudo apt-get install -y git gcc meson python3 python3-pip pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libssl-dev
sudo apt-get install -y make m4 clang llvm zlib1g-dev libelf-dev libcap-ng-dev linux-tools-common libbpf-dev
- name: Install the python package
run: pip install pyelftools==0.29 ninja==1.11.1
Expand All @@ -84,16 +76,11 @@ jobs:
- name: Build dpdk
run: |
cd dpdk
meson build
meson setup build -Ddisable_libs='bpf' -Ddisable_drivers='af_xdp'
ninja -C build
cd build
sudo ninja install
- name: Build and install xdp-tools
run: |
cd xdp-tools && ./configure
make && sudo make install
- name: Build
env:
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/lib64/pkgconfig
Expand Down

0 comments on commit e242863

Please sign in to comment.