From 792b06861b85689c31be729f47fad96e4d41e32f Mon Sep 17 00:00:00 2001 From: Wouter Horlings Date: Thu, 10 Sep 2020 17:09:27 +0200 Subject: [PATCH] Add gitlab ci config --- .gitlab-ci.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..4dc5f63 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,48 @@ + +--- +stages: + - typeset + +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: typeset + 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