mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
26 lines
733 B
YAML
26 lines
733 B
YAML
name: desktop
|
|
description: Build for desktop
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: |
|
|
~/.cargo/bin/
|
|
~/.cargo/registry/index/
|
|
~/.cargo/registry/cache/
|
|
~/.cargo/git/db/
|
|
~/.cargo/.crates*
|
|
target/
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
|
- 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
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: maplibre-rs
|
|
path: target/x86_64-unknown-linux-gnu/debug/maplibre-demo |