Skip to content

Commit c39ac85

Browse files
committed
feat: conditional statement
1 parent 9ab7838 commit c39ac85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
uses: RobPasMue/setup-headless-display-action@offscreen-mesa3d
5757
with:
5858
pyvista: false
59-
install-mesa-offscreen: true
59+
# Mesa3D off screen rendering only needed on Windows self-hosted runners
60+
# without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
61+
install-mesa3d-offscreen: ${{ runner.name != 'pygeometry-ci-2' }}
6062

6163
- name: Create Python venv
6264
if: env.SKIP_UNSTABLE == 'false'

0 commit comments

Comments
 (0)