aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 0e22a4f0ee65af0d10aaa6283e9b99d16099cfa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: "debian:buster-slim"

stages:
  - build

build:
  stage: build
  script:
    - apt-get update && apt-get install -y curl gnupg gdal-bin unzip wget make
    - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
    - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
    - apt-get update && apt-get install -y yarn
    - yarn install
    - mkdir -p dist
    - make downloadVicmap unzip
    - make data/vicmap.geojson
    - make dist/vicmap-osm.geojson
  artifacts:
    name: "build"
    paths:
      - dist