StructRef/.gitlab-ci.yml

19 lines
781 B
YAML

# This file is a template, and might need editing before it works on your project.
# use docker image with latex preinstalled
# since there is no official latex image, use https://github.com/blang/latex-docker
# possible alternative: https://github.com/natlownes/docker-latex
image: blang/latex
build:
script:
- apt update && apt install -y wget unzip
- wget http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus.zip
- unzip beamertheme-focus.zip
- mkdir /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/
- mv beamertheme-focus/*.sty /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/
- ls -la /usr/share/texlive/texmf-dist/tex/latex
- latexmk -pdf src/main.tex
artifacts:
paths:
- "*.pdf"