Skip to content

Commit

Permalink
Install Xvfb and Mesa for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed May 16, 2024
1 parent 7bd2437 commit d103d78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ jobs:
# Helps set up VTK with a headless display
- uses: pyvista/setup-headless-display-action@v2

- name: Install Xvfb and Mesa for Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y xvfb mesa-utils
Xvfb :99 -screen 0 1920x1080x24 &
export DISPLAY=:99
glxinfo | grep "OpenGL"
# Sets up ffmpeg to we can run video tests on CI
- uses: FedericoCarboni/setup-ffmpeg@v2
if: matrix.os != 'macos-latest'
Expand Down
Binary file added example_brainrender_shot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d103d78

Please sign in to comment.