Skip to content

Commit d43dbd9

Browse files
Use CMake 3.26 in GitHub CI (#2325)
This changelist pins the version of CMake to 3.26 in our GitHub CI, as two of our dependencies (PyBind11, NanoGUI) don't yet support CMake 4.0.
1 parent 7f72a86 commit d43dbd9

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ jobs:
172172
if: matrix.python != 'None'
173173
run: pip install setuptools
174174

175+
- name: Install CMake
176+
uses: lukka/get-cmake@28983e0d3955dba2bb0a6810caae0c6cf268ec0c # v4.0.0
177+
with:
178+
cmakeVersion: 3.26
179+
175180
- name: Run Clang Format
176181
if: matrix.clang_format == 'ON'
177182
run: find source \( -name *.h -o -name *.cpp -o -name *.mm -o -name *.inl \) ! -path "*/External/*" ! -path "*/NanoGUI/*" | xargs clang-format -i --verbose
@@ -337,7 +342,7 @@ jobs:
337342

338343
- name: Deploy Web Viewer
339344
if: github.event_name != 'pull_request'
340-
uses: JamesIves/github-pages-deploy-action@v4.7.3
345+
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
341346
with:
342347
branch: gh-pages
343348
folder: javascript/MaterialXView/dist
@@ -398,6 +403,11 @@ jobs:
398403
with:
399404
python-version: 3.${{ matrix.python-minor }}
400405

406+
- name: Install CMake
407+
uses: lukka/get-cmake@28983e0d3955dba2bb0a6810caae0c6cf268ec0c # v4.0.0
408+
with:
409+
cmakeVersion: 3.26
410+
401411
- name: Download Sdist
402412
uses: actions/download-artifact@v4
403413
with:

0 commit comments

Comments
 (0)