Skip to content

Commit

Permalink
workflow: fixup rust build
Browse files Browse the repository at this point in the history
Signed-off-by: Maryam Tahhan <[email protected]>
  • Loading branch information
maryamtahhan committed May 1, 2024
1 parent f51d475 commit a3bc321
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,21 @@ jobs:

- name: Install packages
run: |
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 llvm-dev libclang-dev clang
sudo apt-get update
sudo apt-get install -qy \
git \
clang \
llvm \
protobuf-compiler \
cmake \
perl \
libssl-dev \
gcc-multilib \
libelf-dev
- name: Build and Install CNDP
run: make; sudo CNE_DEST_DIR=/ make install

- name: update rust
run: rustup update stable

- name: Build
working-directory: lang/rs
run: cargo build

0 comments on commit a3bc321

Please sign in to comment.