1 Commits
Author SHA1 Message Date
Charles Zablit ae78c343cd Honor CMAKE_VERSION in cmake-build.sh by downloading the requested CMake release (#3795)
`cmake_tests.yml` has a `cmake_version` input and passes it to
`scripts/cmake-build.sh` as `CMAKE_VERSION`, but the script does not use
that value, so the CMake from the image's apt is used instead.

With this patch, when `CMAKE_VERSION` is set, the script downloads the
release from Kitware's GitHub releases on Linux (x86_64/aarch64) and
uses it for the build.

This lets projects that need a newer CMake than the image's apt provides
use the shared workflow by setting `cmake_version`.

This is blocking https://github.com/apple/swift-certificates/pull/325.
2026-11-19 13:39:35 +00:00