Skip to content

Commit 8d303a9

Browse files
committed
ci: fix build on runners with CMake 4.0
Lately, CMake 4.0 was released, and some GitHub Actions runners started to use it. CMake 4.0 does not support versions older than 3.5 anymore, and we fetch MsgPuck library for the tests that requires 2.8 minimum version. Let's override minimum required version with CMake option in order to generate build files of MsgPuck successfully.
1 parent 1587dac commit 8d303a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/build-tntcxx/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ runs:
2929
-DTNTCXX_ENABLE_SANITIZERS=${{ inputs.enable-sanitizers }} \
3030
-DCMAKE_CXX_STANDARD=${{ inputs.cxx-standard }} \
3131
-DCMAKE_C_COMPILER=${{ inputs.c-compiler }} \
32-
-DCMAKE_CXX_COMPILER=${{ inputs.cxx-compiler }}
32+
-DCMAKE_CXX_COMPILER=${{ inputs.cxx-compiler }} \
33+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
3334
make -j
3435
shell: bash

0 commit comments

Comments
 (0)