mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Enable the test suite to use the CPU rasterizers (vulkan and egl)
This commit is contained in:
parent
07bddd2a8c
commit
9728caa2ac
19
.github/actions/tests/action.yml
vendored
19
.github/actions/tests/action.yml
vendored
@ -9,10 +9,21 @@ runs:
|
||||
shell: bash
|
||||
run: just default-toolchain
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Install Dependencies
|
||||
- name: Install Mesa Dependencies
|
||||
shell: bash
|
||||
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit
|
||||
- name: Test
|
||||
run: sudo apt install -y libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
|
||||
- name: wgpu info
|
||||
shell: bash
|
||||
run: |
|
||||
cargo install --git "https://github.com/gfx-rs/wgpu" wgpu-info
|
||||
wgpu-info
|
||||
- name: Test Vulkan
|
||||
shell: bash
|
||||
# TODO: Additional test runs for different targets
|
||||
run: just test maplibre x86_64-unknown-linux-gnu
|
||||
run: |
|
||||
WGPU_BACKEND=vulkan just test maplibre x86_64-unknown-linux-gnu
|
||||
- name: Test EGL
|
||||
shell: bash
|
||||
# TODO: Additional test runs for different targets
|
||||
run: |
|
||||
EGL_LOG_LEVEL=debug WGPU_BACKEND=gl just test maplibre x86_64-unknown-linux-gnu
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user