Skip to content

Commit af5fe37

Browse files
authored
Setup xvfb directly
1 parent ca2c810 commit af5fe37

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/matlab-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ jobs:
3535
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3636
- uses: actions/checkout@v4
3737

38+
- name: Start display server
39+
run: |
40+
sudo apt-get install xvfb
41+
Xvfb :99 &
42+
echo "DISPLAY=:99" >> $GITHUB_ENV
43+
3844
# Sets up MATLAB on the GitHub Actions runner
3945
- name: Setup MATLAB
4046
uses: matlab-actions/setup-matlab@v2
4147
with:
4248
release: latest-including-prerelease
4349
cache: true
4450

45-
- name: Setup display
46-
uses: pyvista/setup-headless-display-action@v2
47-
with:
48-
pyvista: false
49-
50-
5151

5252
- name: Produce MD from MLX
5353
uses: matlab-actions/run-build@v2

0 commit comments

Comments
 (0)