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:
203
203
204
204
- name : Set up headless display
205
205
if : env.SKIP_UNSTABLE == 'false'
206
- uses : pyvista /setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
206
+ uses : RobPasMue /setup-headless-display-action@offscreen-mesa3d
207
207
with :
208
208
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' }}
209
212
210
213
- name : Create Python venv
211
214
if : env.SKIP_UNSTABLE == 'false'
@@ -682,6 +685,14 @@ jobs:
682
685
- name : Checkout repository
683
686
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
684
687
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
+
685
696
- name : Set up Python
686
697
uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
687
698
with :
Original file line number Diff line number Diff line change @@ -100,9 +100,12 @@ jobs:
100
100
python-version : ${{ env.MAIN_PYTHON_VERSION }}
101
101
102
102
- name : Set up headless display
103
- uses : pyvista /setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
103
+ uses : RobPasMue /setup-headless-display-action@offscreen-mesa3d
104
104
with :
105
105
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' }}
106
109
107
110
- name : Create Python venv
108
111
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