File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,17 +172,12 @@ 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-
180175 - name : Run Clang Format
181176 if : matrix.clang_format == 'ON'
182177 run : find source \( -name *.h -o -name *.cpp -o -name *.mm -o -name *.inl \) ! -path "*/External/*" ! -path "*/NanoGUI/*" | xargs clang-format -i --verbose
183178
184179 - name : CMake Generate
185- run : cmake -S . -B build -DMATERIALX_BUILD_PYTHON=ON -DMATERIALX_BUILD_VIEWER=ON -DMATERIALX_BUILD_GRAPH_EDITOR=ON -DMATERIALX_BUILD_TESTS=ON -DMATERIALX_TEST_RENDER=OFF -DMATERIALX_WARNINGS_AS_ERRORS=ON ${{matrix.cmake_config}}
180+ run : cmake -S . -B build -DMATERIALX_BUILD_PYTHON=ON -DMATERIALX_BUILD_VIEWER=ON -DMATERIALX_BUILD_GRAPH_EDITOR=ON -DMATERIALX_BUILD_TESTS=ON -DMATERIALX_TEST_RENDER=OFF -DMATERIALX_WARNINGS_AS_ERRORS=ON "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ${{matrix.cmake_config}}
186181
187182 - name : CMake Build
188183 run : cmake --build build --target install --config Release --parallel 2
You can’t perform that action at this time.
0 commit comments