Skip to content

[RFC] kernel-build.yaml: add an action to test bpftool build - #517

Open
Tropicao wants to merge 1 commit into
kernel-patches:masterfrom
Tropicao:test_bpftool_build_in_ci
Open

[RFC] kernel-build.yaml: add an action to test bpftool build#517
Tropicao wants to merge 1 commit into
kernel-patches:masterfrom
Tropicao:test_bpftool_build_in_ci

Conversation

@Tropicao

@Tropicao Tropicao commented Aug 19, 2026

Copy link
Copy Markdown

The tools/testing/selftests/bpf directory in the kernel source tree contains the test_bpftool_build.sh script that ensures that the various supported ways of building bpftool work correctly. This test isn't currently part of the tests automatically executed in CI.

Add a dedicated step in kernel-build.yml to execute this script and validate that bpftool can be built correctly.

⚠️ Depends on libbpf/ci#236

An execution example can be found here: kernel-patches/bpf#13368

See RFC on mailing list: https://lore.kernel.org/bpf/DKT6QBHWC8YM.4D90SOC807CW@bootlin.com/

The tools/testing/selftests/bpf directory in the kernel source tree
contains the test_bpftool_build.sh script that ensures that the various
supported ways of building bpftool work correctly. This test isn't
currently part of the tests automatically executed in CI.

Add a dedicated step in kernel-build.yml to execute this script and
validate that bpftool can be built correctly.

Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
@Tropicao Tropicao changed the title kernel-build.yaml: add an action to test bpftool build [RFC] kernel-build.yaml: add an action to test bpftool build Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant