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.
Description
CI: Add Ubuntu 24.04
Add a job matrix for the Ubuntu Build so that we can test builds on both Ubuntu 22.04 and 24.04.
Motivation and Context
Want to make sure that OBS builds on 24.04 (at least on GitHub Actions runners).
Known caveat is that the GitHub Action image does have some newer software than a normal install of Ubuntu 24.04 (usually, GitHub's CMake is newer).
This PR does not update all CI jobs/actions to use Ubuntu 24.04, as that image is still in beta.
This PR changes the sources package to use the sources created in the Ubuntu 24.04 job just so we don't have to remember to fix that whenever we remove the 22.04 job. I checked sources packages between 22.04 and 24.04 and they were identical.
How Has This Been Tested?
Tested with a few runs on my fork. May be helpful to manually clear the old cache variables before merging, but shouldn't be necessary as I've changed the restore keys.
Types of changes
Checklist: