diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e355f08..3e52361 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/cache@v4.1.1 # FIXME: Caching `target/` causes the Windows runner to blow up after some time @@ -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