chg(cli): changed systemd unit description #279
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install system tools | |
run: | | |
sudo apt update | |
sudo apt install -y qemu-system-x86 clang lld libbpf-dev | |
# we need to fetch rust deps first to speed up cargo xtask | |
- name: Cache Rust dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo | |
~/.rustup | |
target | |
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock', '**/.github/workflows/ci.yml') }} | |
- name: Run clippy on full project | |
run: cargo xtask clippy -- --workspace -- -D warnings | |
- name: Install bpf-linker | |
run: cargo install bpf-linker | |
- name: Build (eBPF and userland) | |
run: cargo xtask build --release | |
- name: Linux Kernel LTS 5.4 | |
run: ./scripts/ci/test_kernel.sh 5.4 | |
- name: Linux Kernel LTS 5.10 | |
run: ./scripts/ci/test_kernel.sh 5.10 | |
- name: Linux Kernel LTS 5.15 | |
run: ./scripts/ci/test_kernel.sh 5.15 | |
- name: Linux Kernel LTS 6.1 | |
run: ./scripts/ci/test_kernel.sh 6.1 | |
- name: Linux Kernel LTS 6.6 | |
run: ./scripts/ci/test_kernel.sh 6.6 | |