Skip to content

Commit 3341cc1

Browse files
committed
CI: Force CMake minimum version for mbedtls.
mbedtls specifies a minimum version of 2.8.12. This causes an error: Compatibility with CMake < 3.5 has been removed from CMake. Use -DDCMAKE_POLICY_VERSION_MINIMUM as suggested.
1 parent 06a9688 commit 3341cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- os: ubuntu-24.04
2020
name: Linux
2121
cache-key: linux
22-
cmake-args: '-DPIMORONI_PICO_PATH=$GITHUB_WORKSPACE/pimoroni-pico -DPICO_SDK_PATH=$GITHUB_WORKSPACE/pico-sdk -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install'
22+
cmake-args: '-DPIMORONI_PICO_PATH=$GITHUB_WORKSPACE/pimoroni-pico -DPICO_SDK_PATH=$GITHUB_WORKSPACE/pico-sdk -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install -DCMAKE_POLICY_VERSION_MINIMUM=3.13...3.27'
2323
apt-packages: clang-tidy gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
2424

2525
runs-on: ${{matrix.os}}

0 commit comments

Comments
 (0)