aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: f6bbe34d3745a644d5c9574a42d2914dac2c3851 (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
31
32
33
34
35
36
37
38
39
stages:
  - build-pdf
  - build-svg

build-pdf:
  stage: build-pdf
  image: registry.gitlab.com/containers.ada/tectonic
  script:
    - "tectonic rnv/heidelberg.tex"
    - "tectonic rnv/disc-five.tex"
    - "tectonic vag_freiburg/freiburg.tex"
  artifacts:
    paths:
      - rnv/heidelberg.pdf
      - rnv/disc-five.pdf
      - vag_freiburg/freiburg.pdf
  rules:
    - changes:
      - "*.tex"
      - "*/*.tex"
      - ".gitlab-ci.yml"

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