Skip to content

v1.2 backports

v1.2 backports #751

Workflow file for this run

name: BPF Unit Tests
on:
pull_request:
paths:
- 'bpf/**'
push:
branches:
- main
paths:
- 'bpf/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, actuated-arm64-4cpu-8gb ]
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
# renovate: datasource=golang-version depName=go
go-version: '1.22.6'
- 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"