-
Notifications
You must be signed in to change notification settings - Fork 8
53 lines (45 loc) · 1.21 KB
/
mapmaker.yaml
File metadata and controls
53 lines (45 loc) · 1.21 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: mapmaker
on:
push:
pull_request:
workflow_dispatch:
jobs:
create-env:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
steps:
- name: Checkout
uses: actions/checkout@v4
- if: matrix.os == 'ubuntu'
name: Install Ubuntu packages
uses: ConorMacBride/install-package@v1
with:
apt: libfontconfig1 libegl1 libglx-mesa0 libgl1-mesa-dri
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
activate-environment: true
- name: Install dependencies
run: uv sync
# - name: Run Pyright
# uses: jakebailey/pyright-action@v2
- name: Run mapmaker
run: |
uv run mapmaker \
--output ./flatmaps \
--source https://github.com/AnatomicMaps/rat-flatmap.git \
--commit curation \
--manifest manifest.json \
--force \
--silent --log mapmaker.log \
--no-path-layout \
--background-tiles
env:
SCICRUNCH_API_KEY: ${{ secrets.SCICRUNCH_API_KEY }}