core: CI: launch xfvb for testing on linux

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-25 11:57:20 -07:00
parent 373ad6c695
commit 8cf4a81a2f

View file

@ -21,8 +21,13 @@ jobs:
git clone https://github.com/hexops/mach-gpu libs/mach-gpu git clone https://github.com/hexops/mach-gpu libs/mach-gpu
git clone https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn git clone https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
zig build zig build
- name: launch xvfb
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
- name: test - 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: x86_64-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps: