CI: install latest mesa drivers & xvfb directly

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-29 20:59:39 -07:00 committed by Stephen Gutekanst
parent 715e10be31
commit cb517bc1f9

View file

@ -25,14 +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 (xvfb) - name: mach::test
uses: GabrielBB/xvfb-action@v1 run: |
with: sudo add-apt-repository -y ppa:kisak/kisak-mesa
run: zig build test sudo apt-get update
- name: webgpu::test (xvfb) sudo apt-get install mesa-utils mesa-utils-extra mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers xvfb
uses: GabrielBB/xvfb-action@v1 zig build test
with: - name: webgpu::test
run: cd webgpu && zig build test 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