From 34af210f7fcf1340d9db572acbed00247ac2712b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 27 Apr 2023 23:04:53 +0200 Subject: [PATCH] parallelization --- .drone.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0a7c0ea..8983896 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ...