-
-
Notifications
You must be signed in to change notification settings - Fork 91
30 lines (28 loc) · 864 Bytes
/
demo-linux.yml
File metadata and controls
30 lines (28 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Build demo for Linux
on:
workflow_call:
jobs:
demo-linux:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
targets: x86_64-unknown-linux-gnu
- name: Install Dependencies
uses: ./.github/actions/install-system-dependencies
- 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@v4
with:
name: maplibre-rs
path: target/x86_64-unknown-linux-gnu/release/maplibre-demo