Skip to content

Pr/olsajiri/kprobe session #968

Pr/olsajiri/kprobe session

Pr/olsajiri/kprobe session #968

name: BPF Unit Tests
on:
pull_request:
paths:
- 'bpf/**'
- '.github/workflows/bpf-unit-tests.yml'
push:
branches:
- main
paths:
- 'bpf/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-22.04-arm64 ]
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
# renovate: datasource=golang-version depName=go
go-version: '1.23.4'
- name: Install LLVM
run: |
sudo apt-get update
sudo apt-get -y install clang llvm
- name: Run BPF unit test
run: make bpf-test BPFGOTESTFLAGS="-v"