Skip to content

Conversation

@Arielfoever
Copy link
Contributor

Bump CMake to 3.31.9 and 4.2.0

Add ubuntu-24.04 for test.

Bump CMake to 3.31.9 and 4.2.0

Add ubuntu-24.04 for test.

Signed-off-by: Ariel Xiong <[email protected]>
@github-actions
Copy link

github-actions bot commented Dec 6, 2025

Test Results

2 115 tests  ±0   2 115 ✅ ±0   20m 57s ⏱️ -3s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 458a202. ± Comparison against base commit da1eb87.

os: [ubuntu-22.04, ubuntu-24.04-arm, macos-latest]
cmake_version: ["3.20.0", "4.1.2"]
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-latest]
cmake_version: ["3.31.9", "4.2.0"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our CMakeLists.txt files declare a minimum CMake version of 3.20, so that version should be maintained for testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just considering if we should bump cmake min version too

Copy link
Collaborator

@jordancarlin jordancarlin Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless we have a strong reason to bump the minimum CMake version (a new feature we want to use that isn't supported, etc.), we should avoid increasing the minimum version. All that would do is remove support for the system CMake packaged in older distros without any benefit.

matrix:
os: [ubuntu-22.04, ubuntu-24.04-arm, macos-latest]
cmake_version: ["3.20.0", "4.1.2"]
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-latest]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure there is much benefit to running CI on both Ubuntu 22.04 and Ubuntu 24.04 other than maybe different compiler versions?

Copy link
Contributor Author

@Arielfoever Arielfoever Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcc and some lib like gmp

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point, but we do already have ubuntu-24.04-arm. I think it's ok to test the combinations with a pairwise testing approach rather than exhaustively. Doesn't cost us any more I guess but think of the environment! :-D

If we run into an issue that this would have caught we can reevaluate.

@jordancarlin
Copy link
Collaborator

@Arielfoever seems like the only part of this PR that we want to proceed with is bumping the default latest CMake version. Can you update this accordingly (drop the change to the minimum CMake version and the addition of Ubuntu-24.04)?

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.

3 participants