Bladeren bron

Add gitlab ci config

tags/0.1.0-intro
Wouter Horlings 5 jaren geleden
bovenliggende
commit
91b106e78a
1 gewijzigde bestanden met toevoegingen van 49 en 0 verwijderingen
  1. +49
    -0
      .gitlab-ci.yml

+ 49
- 0
.gitlab-ci.yml Bestand weergeven

@@ -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

Laden…
Annuleren
Opslaan