diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..359ae45 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,49 @@ + +--- +stages: + - typeset + - rro + +variables: + GIT_SUBMODULE_STRATEGY: recursive + + +final_report: + stage: typeset + image: registry.gitlab.com/silkeh/latex:latest + script: + - latexmk -xelatex report.tex + - mkdir tmp + - mv RichReportOutline.rro tmp/ + artifacts: + paths: + - report.pdf + - tmp/RichReportOutline.rro + only: + refs: + - web + - branches + - tags + changes: + - include/*.tex + - include/references.bib + - report.tex + - content/*.tex + +rro: + stage: rro + dependencies: + - final_report + image: registry.gitlab.com/silkeh/latex:latest + script: + - latexmk -xelatex include/RichReportOutline.tex + artifacts: + paths: + - RichReportOutline.pdf + only: + refs: + - web + - branches + - tags + changes: + - tmp/RichReportOutline.rro