CI: use xvfb on Linux

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-29 19:38:38 -07:00 committed by Stephen Gutekanst
parent cea9642195
commit 715e10be31

View file

@ -25,10 +25,14 @@ jobs:
AGREE: true AGREE: true
- name: x86_64-linux -> x86_64-windows - name: x86_64-linux -> x86_64-windows
run: zig build test -Dtarget=x86_64-windows run: zig build test -Dtarget=x86_64-windows
- name: mach::test - name: mach::test (xvfb)
run: zig build test uses: GabrielBB/xvfb-action@v1
- name: webgpu::test with:
run: cd webgpu && zig build test run: zig build test
- name: webgpu::test (xvfb)
uses: GabrielBB/xvfb-action@v1
with:
run: cd webgpu && zig build test
x86_64-windows: x86_64-windows:
runs-on: windows-latest 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 # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push