2021-04-05 21:01:40 +00:00
|
|
|
#
|
|
|
|
# This GitLab CI configuration builds the thesis on each push
|
|
|
|
# The thesis is stored as an repository artifact
|
|
|
|
#
|
|
|
|
# It works with the gitlab.mff.cuni.cz instance.
|
|
|
|
#
|
|
|
|
|
2022-05-08 11:23:15 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- verify
|
|
|
|
|
|
|
|
latexmk:
|
|
|
|
stage: build
|
|
|
|
image: aergus/latex
|
|
|
|
script: |
|
|
|
|
latexmk thesis && latexmk abstract-cz && latexmk abstract-en;
|
2021-04-05 21:01:40 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- thesis.pdf
|
|
|
|
- abstract-cz.pdf
|
|
|
|
- abstract-en.pdf
|
2022-05-08 11:23:15 +00:00
|
|
|
|
|
|
|
verapdf:
|
|
|
|
stage: verify
|
2022-05-09 16:15:51 +00:00
|
|
|
image: ghcr.io/mff-cuni-cz/cuni-thesis-validator
|
2022-05-08 11:23:15 +00:00
|
|
|
script: |
|
|
|
|
verify *.pdf |tee /dev/stderr |grep -qE 'nonCompliant="0"'
|