Skip to content

chore(ci): run build and release on 20.04#48

Merged
jfernandez merged 1 commit into
jfernandez:mainfrom
dnwe:ubuntu-20.04
May 15, 2024
Merged

chore(ci): run build and release on 20.04#48
jfernandez merged 1 commit into
jfernandez:mainfrom
dnwe:ubuntu-20.04

Conversation

@dnwe
Copy link
Copy Markdown
Contributor

@dnwe dnwe commented May 15, 2024

Pin to the 2020 LTS to compile against glibc 2.31 and hence support a wider range of glibc versions than the current 2.35+ provided by the ubuntu-22.04 runner.

This is the oldest glibc supported out of the box from GitHub Runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Pin to the 2020 LTS to compile against glibc 2.31 and hence support a
wider range of glibc versions than the current 2.35+ provided by the
ubuntu-22.04 runner.

This is the oldest glibc supported out of the box from GitHub Runners:
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@jfernandez
Copy link
Copy Markdown
Owner

@dnwe thanks. Out of curiosity, what distro are you running? Do you normally install bpftop from the release artifact? (so not building from source).

@dnwe
Copy link
Copy Markdown
Contributor Author

dnwe commented May 15, 2024

It was a pool of 20.04 workers that I wanted to use it on and yes would normally grab and distribute the release binary for them. I basically made a fork just to get GH actions to quickly build me a compatible binary and attach it to releases so I didn’t have to use my local toolchain to build. At that point it felt useful to contribute back as a suggestion for compatibility purposes

@jfernandez jfernandez merged commit 48612d5 into jfernandez:main May 15, 2024
@jfernandez
Copy link
Copy Markdown
Owner

Got it. I will cut a new release soon so that you can retire your custom release pipeline.

@dnwe dnwe deleted the ubuntu-20.04 branch May 15, 2024 20:48
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.

2 participants