Skip to content

Commit c380bc8

Browse files
authored
[CI] set CMake minimum version requirement via env var for the break by CMake 4 (#1340)
1 parent 8240060 commit c380bc8

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/build-ios-mac.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- os: macos-15
3737
simulator: "'iPad Pro (11-inch) (4th generation)'"
3838
runs-on: ${{ matrix.os }}
39+
env:
40+
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
3941
steps:
4042
- name: Grant write permissions to /usr/local
4143
run: |

.github/workflows/build-posix-latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
build:
2424

2525
runs-on: ${{ matrix.os }}
26+
env:
27+
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
2628
strategy:
2729
matrix:
2830
config: [release, debug]

.github/workflows/build-ubuntu-2004.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
build:
2424

2525
runs-on: ${{ matrix.os }}
26+
env:
27+
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
2628
strategy:
2729
matrix:
2830
config: [release, debug]

0 commit comments

Comments
 (0)