瀏覽代碼

Add gitlab ci config

rro
Wouter Horlings 5 年之前
父節點
當前提交
792b06861b
共有 1 個檔案被更改,包括 48 行新增0 行删除
  1. +48
    -0
      .gitlab-ci.yml

+ 48
- 0
.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

Loading…
取消
儲存