We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146a48b commit 43b80efCopy full SHA for 43b80ef
1 file changed
.github/workflows/test.yml
@@ -21,5 +21,17 @@ jobs:
21
with:
22
go-version: '~1.25'
23
24
+ # `probes/probe_bpfel.go` (bpf2go-generated) has `//go:embed
25
+ # probe_bpfel.o`, so the package fails to compile without the .o on
26
+ # disk. Regenerate it before tests; clang ships on ubuntu-latest, we
27
+ # just need the libbpf + kernel UAPI headers.
28
+ - name: Install BPF build dependencies
29
+ run: |
30
+ sudo apt-get update
31
+ sudo apt-get install -y --no-install-recommends libbpf-dev linux-libc-dev
32
+
33
+ - name: Generate probes BPF object
34
+ run: make probes-bpf
35
36
- name: Run Tests
37
run: go test -race -v ./...
0 commit comments