From 8cf4a81a2ff54ffc4cf1c0512f32d014d25dcd8f Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 25 Jun 2023 11:57:20 -0700 Subject: [PATCH] core: CI: launch xfvb for testing on linux Signed-off-by: Stephen Gutekanst --- libs/core/.github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/core/.github/workflows/ci.yml b/libs/core/.github/workflows/ci.yml index a0938814..dd34478b 100644 --- a/libs/core/.github/workflows/ci.yml +++ b/libs/core/.github/workflows/ci.yml @@ -21,8 +21,13 @@ jobs: git clone https://github.com/hexops/mach-gpu libs/mach-gpu git clone https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn zig build + - name: launch xvfb + run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 & - name: test - run: zig build test + run: | + sudo add-apt-repository -y ppa:kisak/kisak-mesa + sudo apt-get update + sudo apt-get install mesa-utils mesa-utils-extra mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers xvfb x86_64-windows: runs-on: windows-latest steps: