Skip to content

Commit 61bb344

Browse files
committed
ci: use personal action (temporary)
1 parent 630e7c6 commit 61bb344

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

.github/workflows/nightly_docker_test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)