cleanup comments #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
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: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- 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 | |
- 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 |