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

20 lines
681 B
YAML
Raw Normal View History

2020-10-24 19:54:08 +02:00
stages:
- build
build:
stage: build
2020-11-15 22:38:33 +01:00
image: texlive/texlive@bf1f2ef09b4e
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