From 6b98aaf68fa8320a44aa4483f082f6fbf9556ec4 Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:03:26 +0100 Subject: [PATCH] f Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7be74626..f758ff8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,7 @@ jobs: if: startsWith(matrix.platform.os, 'ubuntu') run: | sudo apt update - sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev weston -y + sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev xvfb weston -y - name: Install rust id: toolchain uses: dtolnay/rust-toolchain@stable @@ -73,7 +73,7 @@ jobs: if: ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') }} run: | weston --no-config --socket=wl-test-env --backend=headless & - WAYLAND_DISPLAY=wl-test-env cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }} + WAYLAND_DISPLAY=wl-test-env xvfb-run cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }} - name: Test if: ${{ matrix.platform.test && !startsWith(matrix.platform.os, 'ubuntu') }} run: |