Skip to content

use libbpf >= 1.5.0 version #506

use libbpf >= 1.5.0 version

use libbpf >= 1.5.0 version #506

Workflow file for this run

name: Linux-Basic
permissions: { }
on:
push:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'sphinx/**'
- 'scripts/**'
branches:
- 'main'
- 'lts/**'
pull_request:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'sphinx/**'
- 'scripts/**'
branches:
- 'main'
- 'lts/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-26.04
strategy:
matrix:
rust:
- "1.94"
- stable
- beta
- nightly
steps:
- name: Checkout sources
uses: actions/checkout@v7
with:
submodules: true
- name: Install ${{ matrix.rust }} toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install capnproto libjemalloc-dev libmimalloc-dev libc-ares-dev libssl-dev liblua5.4-dev
sudo apt-get install libbpf-dev
- name: Cargo clean
run: cargo clean
- name: Cargo build
run: cargo build --features jemalloc,ebpf,lua54
- name: Cargo test
run: cargo test --workspace --features jemalloc,lua54 --exclude vey-crypto-mb
clippy:
name: Clippy
runs-on: ubuntu-26.04
steps:
- name: Checkout sources
uses: actions/checkout@v7
with:
submodules: true
- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install capnproto libjemalloc-dev libmimalloc-dev libc-ares-dev libssl-dev liblua5.4-dev
sudo apt-get install libbpf-dev
- name: Cargo clean
run: cargo clean
- name: Cargo clippy
run: cargo clippy --tests --workspace --features jemalloc,ebpf,lua54 --exclude vey-crypto-mb -- --deny warnings