Skip to content

Commit 501aad2

Browse files
committed
Install framebuffer
1 parent 9a67b82 commit 501aad2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ReusableTest.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ jobs:
5757
if [ -f "$DEFAULT" ] && [ ! -f "$TARGET" ]; then
5858
cp "$DEFAULT" "$TARGET"
5959
echo "Copied $DEFAULT to $TARGET"
60-
fi
60+
fi
61+
- name: Install xvfb for headless GL rendering
62+
run: sudo apt-get update && sudo apt-get install -y xvfb
63+
- name: Start virtual framebuffer
64+
run: |
65+
Xvfb :99 -screen 0 1024x768x24 &
66+
echo "DISPLAY=:99" >> $GITHUB_ENV
6167
- uses: julia-actions/julia-buildpkg@v1
6268

6369
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)