From a3bc321d805f646d85e5766723a3b504d6484beb Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Wed, 1 May 2024 09:45:56 -0400 Subject: [PATCH] workflow: fixup rust build Signed-off-by: Maryam Tahhan --- .github/workflows/rust-build.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index 011bf7c4..dee8cb15 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -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