File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -685,6 +685,14 @@ jobs:
685685 - name : Checkout repository
686686 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
687687
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+
688696 - name : Set up Python
689697 uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
690698 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 : |
You can’t perform that action at this time.
0 commit comments