Skip to content
Snippets Groups Projects

Generate PDFs in parallel on multi-core systems

Merged Emanuele Aina requested to merge wip/em/parallel-pdf into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -27,7 +27,8 @@ test-html:
image: docker-registry.apertis.org/apertis/apertis-v2020-documentation-builder
stage: generate-pdf
script:
- find public -name "*.pdf-in" -exec scripts/create-pdf {} \;
- echo "Building PDFs on $(nproc) cores"
- find public -name "*.pdf-in" -print0 | xargs -0 -r -n1 -P "$(nproc)" scripts/create-pdf
needs:
- job: test-html
artifacts:
Loading