Skip to content

fix tests: print test name and find / only #61

fix tests: print test name and find / only

fix tests: print test name and find / only #61

Workflow file for this run

name: Run Test
on:
push:
branches: [rust]
pull_request:
branches: [rust]
jobs:
build:
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
steps:
- name: check bpf
run: |
cat /boot/config-$(uname -r) | grep BPF
- name: install deps
run: |
sudo apt-get update
sudo apt-get install gcc clang llvm libbpf-dev zlib1g-dev libelf-dev autopoint
git clone --recurse-submodules https://github.com/libbpf/bpftool.git
cd bpftool/src
make
sudo make install
cd ../..
which bpftool
clang --version
- name: checkout
uses: actions/checkout@v4
- name: build
run: |
cargo build --release
sudo install -o root -m 4755 target/release/trace_v3 /usr/local/bin
- name: run tests
run: |
sudo ./tests/run-tests.sh