Skip to content

Commit ddbfa90

Browse files
authored
Update create_html_pages.yml
1 parent b0a9500 commit ddbfa90

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/create_html_pages.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,23 @@ jobs:
1515
- name: Check out repository
1616
uses: actions/checkout@v4
1717

18-
- name: Set up dependencies
18+
#- name: Set up dependencies
19+
# run: |
20+
# sudo apt-get update
21+
# sudo apt-get install -y xvfb
22+
23+
#- name: Start virtual frame buffer
24+
# run: |
25+
# export DISPLAY=:100
26+
# echo "Starting virtual frame buffer..."
27+
# Xvfb -ac :100 -screen 0 1280x1024x24 > /dev/null &
28+
29+
- name: Start virtual display server
30+
if: runner.os == 'Linux'
1931
run: |
20-
sudo apt-get update
2132
sudo apt-get install -y xvfb
22-
- name: Start virtual frame buffer
23-
run: |
24-
export DISPLAY=:100
25-
echo "Starting virtual frame buffer..."
26-
Xvfb -ac :100 -screen 0 1280x1024x24 > /dev/null &
27-
- name: Debug Xvfb
28-
run: |
29-
export DISPLAY=:100
33+
Xvfb :99 &
34+
echo "DISPLAY=:99" >> $GITHUB_ENV
3035
3136
- name: Set up Java 11
3237
uses: actions/setup-java@v3
@@ -44,7 +49,7 @@ jobs:
4449
with:
4550
startup-options: -batch
4651
command: |
47-
setenv('DISPLAY', ':100');
52+
%setenv('DISPLAY', ':100');
4853
addpath(genpath('tools'));
4954
disp('Display environment:')
5055
disp(getenv('DISPLAY'))

0 commit comments

Comments
 (0)