Skip to content

Bumping cmake from version 3 to version 4 in ubuntu 24 image breaks building some projects. #13023

@gtjoseph

Description

@gtjoseph

Description

Ubuntu 24.04.3 LTS currently provides cmake-3.28.3-1build7. The ubuntu24/20250907.24.1 image has 3.31.6 which is fine since it's only a minor version bump. ubuntu24/20250915.37 however now shows 4.1.1 which breaks compatibility with many projects. Bumping a package by a major version in the same distribution major version IS NOT A GOOD IDEA. The last time you did this to cmake, you had to roll it back.

See #11933
See #11926

Please revert this change!

Oh, and it appears that there's no distribution that actually ships cmake 4 right now, even Ubuntu 25.04 has 3.31.6.

UNTIL IT APPEARS IN A DISTRIBUTION YOU SHOULDN'T BE INCLUDING IT IN AN IMAGE!!!

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

https://github.com/actions/runner-images/releases/tag/ubuntu24/20250915.37

Is it regression?

https://github.com/actions/runner-images/releases/tag/ubuntu24/20250907.24.1

Expected behavior

All existing cmake projects build for version 3

Actual behavior

Projects that still use older configuration directives fail to build.

Repro steps

Try to build an older project.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions