maplibre-rs/.github/workflows/demo-linux.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

32 lines
914 B
YAML

name: Build demo for Linux
on:
workflow_call:
jobs:
demo-linux:
name: Build
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 Dependencies
shell: bash
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit
- name: Build
shell: bash
run: cargo build -p maplibre-demo --release --target x86_64-unknown-linux-gnu
- name: Check
shell: bash
run: just check maplibre-demo x86_64-unknown-linux-gnu
- name: Test x86_64 linux
shell: bash
run: just test maplibre-demo x86_64-unknown-linux-gnu
- uses: actions/upload-artifact@v3
with:
name: maplibre-rs
path: target/x86_64-unknown-linux-gnu/release/maplibre-demo