Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

c0d33ngr
Copy link

PR to close #177

@c0d33ngr c0d33ngr force-pushed the update-github-workflow branch from 65b5f21 to 6432da3 Compare January 15, 2025 07:49
@qmonnet
Copy link
Member

qmonnet commented Jan 15, 2025

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.

@c0d33ngr
Copy link
Author

Okay. Thank you :)

@qmonnet qmonnet force-pushed the update-github-workflow branch from 6432da3 to 7ad2fbc Compare February 25, 2025 10:14
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]>
@qmonnet qmonnet force-pushed the update-github-workflow branch 2 times, most recently from 99a98bc to cf462c6 Compare February 25, 2025 11:02
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]>
@qmonnet qmonnet force-pushed the update-github-workflow branch from cf462c6 to 3b812c2 Compare February 25, 2025 11:22
@qmonnet
Copy link
Member

qmonnet commented Feb 25, 2025

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.

@qmonnet qmonnet force-pushed the update-github-workflow branch 6 times, most recently from 2125fb3 to fa94535 Compare February 25, 2025 15:50
Signed-off-by: Quentin Monnet <[email protected]>
@qmonnet qmonnet force-pushed the update-github-workflow branch from fa94535 to 1a88cf7 Compare February 25, 2025 16:54
@qmonnet
Copy link
Member

qmonnet commented Feb 25, 2025

OK I've got the fix but the Makefile change should really go into the kernel repo, too. I need to take a bit of time to craft and submit something proper

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]>
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.

Update GitHub workflow to run on Ubuntu 24.04
2 participants