Skip to content

Commit

Permalink
ci: speed up test of bpf2go
Browse files Browse the repository at this point in the history
Installing clang-11 takes the majority of time for the bpf2go test.
This in turn delays the matrix based tests, lengthening the overall
CI run time by a minute or two.

Bump the minimum version to 13, which is pre-installed on ubuntu
22.04 runners. This way we don't have to pay the price of installation.

Signed-off-by: Lorenz Bauer <[email protected]>
  • Loading branch information
lmb committed Mar 3, 2025
1 parent 6e783ed commit a35fc5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
TMPDIR: /tmp
CI_MAX_KERNEL_VERSION: '6.11'
CI_MAX_EFW_VERSION: '0.20.0'
CI_MIN_CLANG_VERSION: '11'
CI_MIN_CLANG_VERSION: '13'
go_version: '~1.24'
prev_go_version: '~1.23'
CGO_ENABLED: '0'
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
- name: Test bpf2go
run: |
sudo apt-get install clang-11 llvm-11
go test -v ./cmd/bpf2go
- name: Build examples
Expand Down

0 comments on commit a35fc5f

Please sign in to comment.