Ver código fonte

Add gitlab ci config

rro
Wouter Horlings 5 anos atrás
pai
commit
792b06861b
1 arquivos alterados com 48 adições e 0 exclusões
  1. +48
    -0
      .gitlab-ci.yml

+ 48
- 0
.gitlab-ci.yml Ver arquivo

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

Carregando…
Cancelar
Salvar