Force rebuilding fcconfig cache

This commit is contained in:
Matteo Settenvini 2020-11-15 22:38:33 +01:00
parent b8cfdba1d0
commit d5113aa3b4
1 changed files with 7 additions and 1 deletions

View File

@ -3,10 +3,16 @@ stages:
build:
stage: build
image: texlive/texlive:latest
image: texlive/texlive@bf1f2ef09b4e
script:
- echo -e "section_start:`date +%s`:rebuild_fc_cache\r\e[0KRebuild Fontconfig cache (docker image bug)"
- cp $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
- fc-cache -sv
- echo -e "section_end:`date +%s`:rebuild_fc_cache\r\e[0K"
- echo -e "section_start:`date +%s`:build\r\e[0KBuild the project proper"
- latexmk -jobname="manuale-italiano"
- mv build/manuale-italiano.pdf .
- echo -e "section_end:`date +%s`:build\r\e[0K"
artifacts:
expire_in: 30 days
paths: