Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2a24d5

Browse files
committed
CI, DOC: Enable Sphinx parallel build
1 parent a7d3a77 commit f2a24d5

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
docker:
99
# CircleCI maintains a library of pre-built images
1010
# documented at https://circleci.com/docs/2.0/circleci-images/
11-
- image: cimg/python:3.8
11+
- image: cimg/base:2021.05
1212

1313
working_directory: ~/repo
1414

@@ -23,7 +23,8 @@ jobs:
2323
name: create virtual environment, install dependencies
2424
command: |
2525
sudo apt-get update
26-
sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra latexmk texlive-xetex
26+
sudo apt-get install -y python3.8 python3.8-dev python3-venv graphviz texlive-fonts-recommended texlive-latex-recommended \
27+
texlive-latex-extra latexmk texlive-xetex doxygen
2728
python3.8 -m venv venv
2829
. venv/bin/activate
2930
@@ -58,7 +59,7 @@ jobs:
5859
. venv/bin/activate
5960
cd doc
6061
# Don't use -q, show warning summary"
61-
SPHINXOPTS="-n" make -e html || echo "ignoring errors for now, see gh-13114"
62+
SPHINXOPTS="-j4 -n" make -e html || echo "ignoring errors for now, see gh-13114"
6263
6364
- run:
6465
name: build devdocs
@@ -67,14 +68,14 @@ jobs:
6768
. venv/bin/activate
6869
cd doc
6970
make clean
70-
SPHINXOPTS=-q make -e html
71+
SPHINXOPTS="-j4 -q" make -e html
7172
7273
- run:
7374
name: build neps
7475
command: |
7576
. venv/bin/activate
7677
cd doc/neps
77-
SPHINXOPTS=-q make -e html
78+
SPHINXOPTS="-j4 -q" make -e html
7879
7980
- store_artifacts:
8081
path: doc/build/html/

0 commit comments

Comments
 (0)