CI: Switch Linux Build to Ubuntu 22.04 runner #2792
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short description of changes
This PR switches the Linux builds to Ubuntu 22.04 runners due to the deprecation of 18.04 runners.
We continue using an Ubuntu 18.04 image via containers. This requires slight adjustments in the Matrix logic and an additional step to install some dependencies (sudo, git) which are usually pre-installed on Github's images.
It also causes LD_PRELOAD ERROR messages due to CodeQL. Sadly, there does not seem a way to avoid that.
Based on the logs, CodeQL still works properly. The most likely reason for the errors is that CodeQL is installed within
the container, but the environment variables for LD_PRELOAD have to be passed via the workflow. As such, the
docker
invocations themselves will try to load the referenced library, which fails as it is only installed within the container.CHANGELOG: SKIP
(The actual build environment does not even change, it's just the runner)
Context: Fixes an issue?
Fixes: #2786
Does this change need documentation? What needs to be documented and how?
No.
Status of this Pull Request
Ready.
What is missing until this pull request can be merged?
Checklist