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

build-final:
  stage: build-pdf
  image: registry.gitlab.com/containers.ada/tectonic
  script:
    - "tectonic heidelberg.tex --chatter default"
  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"