corso-di-italiano-per-stran.../.gitlab-ci.yml

20 lines
740 B
YAML
Raw Permalink Normal View History

2020-10-24 19:54:08 +02:00
stages:
- build
build:
stage: build
2020-11-15 22:58:26 +01:00
image: texlive/texlive@sha256:70fdbc1d9596c8eeb4a80c71a8eb3a5aeb63bed784112cbdb87f740e28de7a80
2020-10-24 19:54:08 +02:00
script:
2020-11-15 22:38:33 +01:00
- 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"
2020-11-14 19:20:06 +01:00
- latexmk -jobname="manuale-italiano"
- mv build/manuale-italiano.pdf .
2020-11-15 22:38:33 +01:00
- echo -e "section_end:`date +%s`:build\r\e[0K"
2020-10-24 19:54:08 +02:00
artifacts:
2020-11-14 22:23:22 +01:00
expire_in: 30 days
2020-10-24 19:54:08 +02:00
paths:
- ./manuale-italiano.pdf