File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff 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
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'))
You can’t perform that action at this time.
0 commit comments