Merge pull request 'Parallelization of drone builds, where possible' (#3) from drone/parallelization into main

Reviewed-on: Chill-project/manuals#3
This commit is contained in:
Julien Fastré 2023-04-27 21:06:51 +00:00
commit 361cca96a8

View File

@ -18,12 +18,16 @@ steps:
commands:
- git lfs fetch
- git lfs checkout
depends_on:
- clone
- name: pandoc
image: pandoc/core:2.18-alpine
commands:
- sh build-pandoc.sh latex user > user/user-manual.tex
- sh build-pandoc.sh latex admin > admin/admin-manual.tex
depends_on:
- fetch images
- name: build-latex-user
image: texlive/texlive
@ -31,6 +35,8 @@ steps:
- cd user
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
- mv user-manual.pdf ../Manuel\ utilisateur.pdf
depends_on:
- pandoc
- name: build-latex-admin
image: texlive/texlive
@ -38,6 +44,8 @@ steps:
- cd admin
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
- mv admin-manual.pdf ../Manuel\ administrateur.pdf
depends_on:
- pandoc
- name: release
image: plugins/gitea-release
@ -49,11 +57,14 @@ steps:
- "Manuel administrateur.pdf"
- "Manuel utilisateur.pdf"
title: ${DRONE_TAG:=latest}
depends_on:
- build-latex-user
- build-latex-admin
when:
event:
- tag
---
kind: signature
hmac: dc200b08e09b83e734ff829ac62c7daf5f80986f725edac1b974b07793adb4b0
hmac: a83892d8f9bb967bd2a6335e2b34008e05f9bec482f270237c6764918434f97c
...