libbpf / ci

BPF CI
Other
11 stars 24 forks source link

add BPF GCC support for BPF CI #144

Open cupermir opened 2 months ago

cupermir commented 2 months ago

This PR adds support for building BPF GCC for the purpose to integrate it in BPF CI.

Similar support that makes use of this code will be pull requested in kernel-patches/bpf repo.

cupermir commented 2 months ago

https://github.com/libbpf/ci/blob/f1bc702dc76510c4b306a76d1a00db5dc29fb99b/.github/workflows/test.yml#L20 to exercise the gcc bpf-toolchain install/run?

I am actually wondering if this will uncover that it is also needed as part of the testing environment? In which case, during the test run we would need to install the toolchain again.

If I understand well what is happening in test.yml, there is nothing to be added to it, since the bpf-gcc this PR instroduces is only a bpf compiler, it would not impact kernel building in any way.