mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
* Use apt-get * Upgarde ubuntu * Disable upgrading drivers * Add messages to test * Add comment
28 lines
742 B
YAML
28 lines
742 B
YAML
name: Run tests
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
run-tests:
|
|
name: Test
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
targets: x86_64-unknown-linux-gnu
|
|
- name: Install GPU Drivers
|
|
uses: ./.github/actions/install-driver
|
|
- name: Test Vulkan
|
|
shell: bash
|
|
# TODO: Additional test runs for different targets
|
|
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
|