From 715e10be3123bd8cb0455c7ab39e57615a72aff8 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Thu, 29 Jul 2021 19:38:38 -0700 Subject: [PATCH] CI: use xvfb on Linux Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a995b933..7337b782 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,10 +25,14 @@ jobs: AGREE: true - name: x86_64-linux -> x86_64-windows run: zig build test -Dtarget=x86_64-windows - - name: mach::test - run: zig build test - - name: webgpu::test - run: cd webgpu && zig build test + - name: mach::test (xvfb) + uses: GabrielBB/xvfb-action@v1 + with: + run: zig build test + - name: webgpu::test (xvfb) + uses: GabrielBB/xvfb-action@v1 + with: + run: cd webgpu && zig build test x86_64-windows: runs-on: windows-latest # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push