|
87 | 87 | steps: |
88 | 88 | - uses: actions/checkout@v4 |
89 | 89 |
|
90 | | - # Downgrade CMake while some dependencies are not CMake 4 compatible. See https://github.com/FLAMEGPU/FLAMEGPU2/issues/1276 |
91 | | - - name: Install CMake < 4.0 |
92 | | - uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be |
93 | | - with: |
94 | | - cmake-version: '3.x' |
95 | | - |
96 | 90 | - name: Install CUDA |
97 | 91 | if: ${{ startswith(env.OS, 'ubuntu') && env.CUDA != '' }} |
98 | 92 | env: |
@@ -243,12 +237,6 @@ jobs: |
243 | 237 | steps: |
244 | 238 | - uses: actions/checkout@v4 |
245 | 239 |
|
246 | | - # Downgrade CMake while some dependencies are not CMake 4 compatible. See https://github.com/FLAMEGPU/FLAMEGPU2/issues/1276 |
247 | | - - name: Install CMake < 4.0 |
248 | | - uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be |
249 | | - with: |
250 | | - cmake-version: '3.x' |
251 | | - |
252 | 240 | - name: Install CUDA (Windows) |
253 | 241 | if: ${{ runner.os == 'Windows' && env.CUDA != '' }} |
254 | 242 | timeout-minutes: 35 |
@@ -400,14 +388,13 @@ jobs: |
400 | 388 | cuda: ${{ env.CUDA }} |
401 | 389 | run: .github/scripts/install_cuda_el8.sh |
402 | 390 |
|
403 | | - # Downgrade CMake for DeVIL. See https://github.com/FLAMEGPU/FLAMEGPU2/issues/1276 |
404 | | - - name: Install CMake < 4.0, overwriting the pipx installed version from manylinux |
405 | | - run: | |
406 | | - pipx install --global --force 'cmake<4.0' |
407 | | -
|
408 | 391 | - name: Install Visualisation Dependencies (EL 8) |
409 | 392 | if: ${{ env.VISUALISATION == 'ON' }} |
410 | 393 | run: | |
| 394 | + # Install CMake 3 just to build DevIL |
| 395 | + python3 -m venv devil-venv |
| 396 | + source devil-venv/bin/activate |
| 397 | + python3 -m pip install 'cmake<4.0' |
411 | 398 | yum install -y glew-devel fontconfig-devel SDL2-devel freetype-devel |
412 | 399 | # Build/Install DevIL from source. |
413 | 400 | yum install -y freeglut-devel |
@@ -558,12 +545,6 @@ jobs: |
558 | 545 | steps: |
559 | 546 | - uses: actions/checkout@v4 |
560 | 547 |
|
561 | | - # Downgrade CMake while some dependencies are not CMake 4 compatible. See https://github.com/FLAMEGPU/FLAMEGPU2/issues/1276 |
562 | | - - name: Install CMake < 4.0 |
563 | | - uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be |
564 | | - with: |
565 | | - cmake-version: '3.x' |
566 | | - |
567 | 548 | - name: Install CUDA (Windows) |
568 | 549 | if: ${{ runner.os == 'Windows' && env.CUDA != '' }} |
569 | 550 | shell: powershell |
|
0 commit comments