StructRef/.gitlab-ci.yml

19 lines
799 B
YAML
Raw Normal View History

2020-04-16 17:42:46 +00:00
# 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:
2020-04-16 18:09:46 +00:00
- 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
2020-04-16 18:19:39 +00:00
- mkdir /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/
- mv beamertheme-focus/*.sty /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/
2020-04-16 18:22:57 +00:00
- ls -la /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus
2020-04-16 17:42:46 +00:00
- latexmk -pdf src/main.tex
artifacts:
paths:
- "*.pdf"