openthread / ot-reference-release

BSD 3-Clause "New" or "Revised" License
11 stars 26 forks source link

CI is failing due to low CMake version #80

Closed superwhd closed 1 month ago

superwhd commented 1 month ago

https://github.com/openthread/ot-reference-release/actions/runs/10105294580/job/27945543716?pr=79

-- Configuring incomplete, errors occurred!
See also "/home/pi/repo/ot-commissioner/cmake-3.16.1/CMakeFiles/CMakeOutput.log".
See also "/home/pi/repo/ot-commissioner/cmake-3.16.1/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
+ true
+ mkdir -p build
+ cd build
+ /usr/local/bin/cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DOT_COMM_REFERENCE_DEVICE=ON ..
CMake Error at CMakeLists.txt:29 (cmake_minimum_required):
  CMake 3.20.1 or higher is required.  You are running version 3.10.3

-- Configuring incomplete, errors occurred!

However CMake's version was pinned here: https://github.com/openthread/ot-reference-release/blob/07155e66a1e72bbe9fa7cd135e4274dc35d5b7ee/script/otbr-setup.bash#L188

Context: https://github.com/openthread/ot-br-posix/issues/728