Skip to content

Commit

Permalink
add xvfb on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Dec 5, 2024
1 parent f71fdcb commit 5f738da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
sudo apt-get install -y xvfb libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/[email protected]
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
Expand Down Expand Up @@ -111,7 +111,9 @@ jobs:
if [[ $runner_name = 'macos-universal' ]]; then
pluginval.app/Contents/MacOS/pluginval --verbose --strictness-level 2 target/bundled/DEL2.vst3 || exit 1
elif [[ $runner_name = 'ubuntu-22.04' ]]; then
./pluginval --verbose --strictness-level 1 target/bundled/DEL2.vst3 || exit 1
# This starts up our "fake" display Xvfb, needed for pluginval
sudo /usr/bin/Xvfb :0 &&
./pluginval --verbose --strictness-level 5 target/bundled/DEL2.vst3 || exit 1
elif [[ $runner_name = 'windows' ]]; then
powershell -Command "& { .\pluginval.exe --verbose --strictness-level 10 target/bundled/DEL2.vst3; if ($LASTEXITCODE -ne 0) { exit 1 } }"
fi
Expand Down

0 comments on commit 5f738da

Please sign in to comment.