-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Update build.yaml to include Ubuntu 24.04 #179
base: main
Are you sure you want to change the base?
Conversation
65b5f21
to
6432da3
Compare
Thanks a lot! The CI fails on Ubuntu 24.04, though. I forgot we needed #152 to be addressed before using Ubuntu 24.04. Once the fix makes it to bpf-next, it will be pulled when we update the mirror. It will need an additional commit in this repo to compensate for the feature detection in the kernel repo, and then we'll be able to merge your change. |
Okay. Thank you :) |
Signed-off-by: Jeffrey <[email protected]>
6432da3
to
7ad2fbc
Compare
The Ubuntu 20.04-based runners have been deprecated by GitHub at the beginning of this month, and are expected to go fully unsupported by 2025-04-01. Let's remove it from the workflow file. Link: actions/runner-images#11101 Signed-off-by: Quentin Monnet <[email protected]>
99a98bc
to
cf462c6
Compare
Add the probe to test whether we need to link against the zstd library to use libelf in bpftool. This should ideally have been merged before commit 67f1758 ("bpftool: Link zstd lib required by libelf"), where we have the Makefile use the actual feature, but I forgot to add the probe when synchronising the repository. Elfutils commit a5b07cdf9c49 adds support for ZSTD compression, first shipped with elfutils 0.189. Distros now have it; for example, Ubuntu 22.04 ships version 0.186 (or 0.188 in backports), but Ubuntu 24.04 has 0.189 or 0.190 depending on the arch. Link: https://sourceware.org/git/?p=elfutils.git;a=commit;h=a5b07cdf9c491fb7a4a16598c482c68b718f59b9 Signed-off-by: Quentin Monnet <[email protected]>
cf462c6
to
3b812c2
Compare
Apologies, I synchronized the repo and the Makefile fix is in, but it seems I'm still missing something on the probing side - so the build workflow on Ubuntu 24.04 still fails. I'll need to look into it more. |
2125fb3
to
fa94535
Compare
Signed-off-by: Quentin Monnet <[email protected]>
fa94535
to
1a88cf7
Compare
OK I've got the fix but the |
Use Ubuntu 24.04 instead of 22.04 (when we use a single version, not for the build test Matrix where we want to test both), except for the job where we package the release (where we're not really tied to a specific version and can just go with ubuntu-latest). Signed-off-by: Quentin Monnet <[email protected]>
PR to close #177