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

Update workflow(s) for ubuntu-latest == ubuntu-24.04 #4858

Merged
merged 4 commits into from
Jan 20, 2025
Merged

Conversation

KrystalDelusion
Copy link
Member

@KrystalDelusion KrystalDelusion commented Jan 19, 2025

What are the reasons/motivation for this change?
ubuntu-latest is now 24.04 instead of 22.04 and broke some things:

  • test-compile for {os: ubuntu-latest, compiler: clang-14} failing cpp setup
  • test-build for {os: ubuntu-latest} missing bzlib.h

Explain how this is achieved.
Change clang-14 to clang-10 as oldest supported under ubuntu-latest (somehow clang-10 is now working under latest but clang-11 through clang-16 are not).
Also update newest clang to -19.
apt-get libbz2-dev.

If applicable, please suggest to reviewers how they can test the change.

Oldest clang on 24.04 appears to be 16.
Use clang-19 as latest
clang-11 through clang-16 fail under 24.04, but clang-10 works, so we can move that up to the oldest supported and drop the extra target for ubuntu-20.04
@KrystalDelusion
Copy link
Member Author

13fdd52 fixes tests for ubuntu, but breaks macos. Minimum fix to get CI passing is just put it behind a if: runner.os == 'Linux', but I'm not sure where the library was coming from before and if this makes something else redundant or if it should be included in the general prerequisites.

@mmicko mmicko force-pushed the update_latest-24.04 branch from 13fdd52 to 6b44997 Compare January 20, 2025 15:08
@mmicko mmicko merged commit 2c6dc1a into main Jan 20, 2025
43 checks passed
@mmicko mmicko deleted the update_latest-24.04 branch January 20, 2025 15:34
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