Skip to content

Commit

Permalink
rust-workflow: Build cndp first
Browse files Browse the repository at this point in the history
  • Loading branch information
maryamtahhan authored Apr 25, 2023
1 parent 868c655 commit 6815d66
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:

env:
CARGO_TERM_COLOR: always
PKG_CONFIG_PATH: "/usr/lib64/pkgconfig"
PKG_CONFIG_PATH: "$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig"
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu"

jobs:
build:
Expand All @@ -21,7 +22,16 @@ jobs:

- name: Install packages
run: |
sudo apt-get update && sudo apt-get install -y libbpf-dev
sudo apt-get update && sudo apt-get install -y\
build-essential libbsd-dev libelf-dev libjson-c-dev\
libnl-3-dev libnl-cli-3-dev libnuma-dev libpcap-dev meson\
pkg-config wget libbpf-dev
- name: Build and Install CNDP
run: make; make install

- name: update rust
run: rustup update stable

- name: Build
working-directory: lang/rs
Expand Down

0 comments on commit 6815d66

Please sign in to comment.