Skip to content

Commit cd8476f

Browse files
Pin cmake to lower than 4 in CI (#2021)
Signed-off-by: Jean-Christophe Morin <jean_christophe_morin@hotmail.com>
1 parent d3620b5 commit cd8476f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ jobs:
8181
- name: Install rez
8282
run: python ./install.py ./installdir
8383

84+
- name: Install test system dependencies (macOS)
85+
if: ${{ startsWith(matrix.os, 'macos-') }}
86+
run: |
87+
set -ex
88+
# Make sure to use cmake < 4. CMake 4 dropped support for features
89+
# from cmake < 3.5 and rez uses these features.
90+
brew uninstall cmake
91+
python -m pip install 'cmake<4'
92+
8493
- name: Setup environment variables
8594
shell: bash
8695
env:

0 commit comments

Comments
 (0)