Skip to content

Commit 4e4c70f

Browse files
Restore original NanoGUI workaround (#2333)
This changelist restores our original NanoGUI workaround for GitHub CI, which seems to be more robust in our Windows builds.
1 parent cd00fbc commit 4e4c70f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,17 @@ 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
178183

179184
- name: CMake Generate
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}}
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}}
181186

182187
- name: CMake Build
183188
run: cmake --build build --target install --config Release --parallel 2

0 commit comments

Comments
 (0)