浏览代码

Add gitlab ci config

tags/0.1.0-intro
父节点
当前提交
91b106e78a
共有 1 个文件被更改,包括 49 次插入0 次删除
  1. +49
    -0
      .gitlab-ci.yml

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

正在加载...
取消
保存