.gitlab-ci.yml 762 Bytes
Newer Older
Vít Novotný's avatar
Vít Novotný committed
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
image: texlive/texlive

stages:
  - build

Typeset documentation:
  stage: build
  tags:
    - shared-fi
  before_script:
    - xetex mubeamer.ins
  script:
    - latexmk mubeamer.dtx
  artifacts:
    paths:
      - mubeamer.pdf
    expire_in: 1 week

Typeset example documents:
  stage: build
  tags:
    - shared-fi
  before_script:
    - xetex mubeamer.ins
    - mkdir -p ~/texmf/tex/latex/mubeamer/
    - cp -r beamerthemeMU.sty logo/ label/ patch/ ~/texmf/tex/latex/mubeamer/
    - cd example
    - xetex example.ins
  script:
30
31
    - ls *.tex | grep -v '-xetex-luatex\.tex$' | xargs latexmk -pdflatex -silent
    - ls *.tex | grep    '-xetex-luatex\.tex$' | xargs latexmk -lualatex -silent
Vít Novotný's avatar
Vít Novotný committed
32
33
34
35
  artifacts:
    paths:
      - example/*.pdf
    expire_in: 1 week