-
Andri Joos authoredc3dc0055
.gitlab-ci.yml 694 B
include:
- project: andrijoos/ci-templates
ref: master
file: latex.gitlab-ci.yml
stages:
- build
build_diagrams:
stage: build
image:
name: python:3.11-bullseye
entrypoint: ["/bin/sh"]
artifacts:
expire_in: 1h
paths:
- src/resources/diagrams/out/*.png
script:
- apt update && apt install -y graphviz
- cd src/resources/diagrams
- python -m pip install -r requirements.txt
- python run_all.py
build_doc:
extends: .build_pdf
stage: build
needs:
- build_diagrams
variables:
SOURCE: src/main.tex
build_public_doc:
extends: .build_pdf
stage: build
needs:
- build_diagrams
variables:
SOURCE: src/main_public.tex