File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -203,9 +203,12 @@ jobs:
203203
204204 - name : Set up headless display
205205 if : env.SKIP_UNSTABLE == 'false'
206- uses : pyvista /setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
206+ uses : RobPasMue /setup-headless-display-action@offscreen-mesa3d
207207 with :
208208 pyvista : false
209+ # Mesa3D off screen rendering only needed on Windows self-hosted runners
210+ # without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
211+ install-mesa3d-offscreen : ${{ runner.name != 'pygeometry-ci-2' }}
209212
210213 - name : Create Python venv
211214 if : env.SKIP_UNSTABLE == 'false'
@@ -682,6 +685,14 @@ jobs:
682685 - name : Checkout repository
683686 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
684687
688+ - name : Set up headless display
689+ uses : RobPasMue/setup-headless-display-action@offscreen-mesa3d
690+ with :
691+ pyvista : false
692+ # Mesa3D off screen rendering only needed on Windows self-hosted runners
693+ # without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
694+ install-mesa3d-offscreen : ${{ runner.name != 'pygeometry-ci-2' }}
695+
685696 - name : Set up Python
686697 uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
687698 with :
Original file line number Diff line number Diff line change @@ -100,9 +100,12 @@ jobs:
100100 python-version : ${{ env.MAIN_PYTHON_VERSION }}
101101
102102 - name : Set up headless display
103- uses : pyvista /setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
103+ uses : RobPasMue /setup-headless-display-action@offscreen-mesa3d
104104 with :
105105 pyvista : false
106+ # Mesa3D off screen rendering only needed on Windows self-hosted runners
107+ # without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
108+ install-mesa3d-offscreen : ${{ runner.name != 'pygeometry-ci-2' }}
106109
107110 - name : Create Python venv
108111 run : |
Original file line number Diff line number Diff line change 1+ fix issues with OSMesa installation and env variables set up
You can’t perform that action at this time.
0 commit comments