maplibre-rs/.github/workflows/run-tests.yml
Max Ammann 1b73ad5908
Upgrade to Ubuntu 22 in CI (#215)
* Use apt-get

* Upgarde ubuntu

* Disable upgrading drivers

* Add messages to test

* Add comment
2022-11-13 11:30:59 +01:00

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