Skip to content

CMake 4.0 broke my workflow on ubuntu-latest #11932

@LegalizeAdulthood

Description

@LegalizeAdulthood

Description

My CMake/vcpkg based workflow was working fine until CMake was updated to 4.0, now things are failing.

I attempted to revert back to CMake 3.x to verify this, but apparently my apt-fu isn't good enough.

Last working run was 2 days ago:
https://github.com/LegalizeAdulthood/scintilla-example/actions/runs/14164168826

Current failing runs:
https://github.com/LegalizeAdulthood/scintilla-example/actions

Note the macOS workflow is still working because it hasn't been updated to CMake 4 yet.

Platforms affected

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

Runner images affected

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

Image version and build link

https://github.com/LegalizeAdulthood/scintilla-example/actions/runs/14211819245/job/39820297094

Is it regression?

yes

Expected behavior

last successful build: https://github.com/LegalizeAdulthood/scintilla-example/actions/runs/14164168826

Actual behavior

vcpkg fails to build a dependency and cmake complains that CMAKE_MAKE_PROGRAM is not set

Repro steps

Run the workflow on this repository:
https://github.com/LegalizeAdulthood/scintilla-example

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions