aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: cd5af5867c9541a674af183b0aef9cf982af1c5d (plain)
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
stages:
  - build-pdf
  - build-svg

build-pdf:
  stage: build-pdf
  image: registry.gitlab.com/containers.ada/tectonic
  script:
    - "set -eux"
    - "tectonic heidelberg.tex"
  artifacts:
    paths:
      - heidelberg.pdf
  rules:
    - changes:
      - "*.tex"
      - ".gitlab-ci.yml"

build-svg:
  stage: build-svg
  image: registry.gitlab.com/containers.ada/pdf2svg
  script:
    - "pdf2svg heidelberg.svg"
  artifacts:
    paths:
      - heidelberg.svg
  rules:
    - changes:
      - "*.tex"
      - ".gitlab-ci.yml"