diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 215e8c3..4b086be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: