From 91b106e78ad8268fdb49d2a7bf7cfbf84903f35c 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 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .gitlab-ci.yml 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