summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2021-07-14 00:02:50 +0200
committerSayed Adel <seiko@imavr.com>2021-08-30 21:05:04 +0200
commitf2a24d58d231d97bc60366a551bf718b5143ec3b (patch)
tree4fd0ae6a58b892787f4492338cf335f9a273844c /.circleci
parenta7d3a77121f0127b9402a78b1138d00dd4f973fc (diff)
downloadnumpy-f2a24d58d231d97bc60366a551bf718b5143ec3b.tar.gz
CI, DOC: Enable Sphinx parallel build
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index fdb85be98..a0c2a25a4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -8,7 +8,7 @@ jobs:
docker:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- - image: cimg/python:3.8
+ - image: cimg/base:2021.05
working_directory: ~/repo
@@ -23,7 +23,8 @@ jobs:
name: create virtual environment, install dependencies
command: |
sudo apt-get update
- sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra latexmk texlive-xetex
+ sudo apt-get install -y python3.8 python3.8-dev python3-venv graphviz texlive-fonts-recommended texlive-latex-recommended \
+ texlive-latex-extra latexmk texlive-xetex doxygen
python3.8 -m venv venv
. venv/bin/activate
@@ -58,7 +59,7 @@ jobs:
. venv/bin/activate
cd doc
# Don't use -q, show warning summary"
- SPHINXOPTS="-n" make -e html || echo "ignoring errors for now, see gh-13114"
+ SPHINXOPTS="-j4 -n" make -e html || echo "ignoring errors for now, see gh-13114"
- run:
name: build devdocs
@@ -67,14 +68,14 @@ jobs:
. venv/bin/activate
cd doc
make clean
- SPHINXOPTS=-q make -e html
+ SPHINXOPTS="-j4 -q" make -e html
- run:
name: build neps
command: |
. venv/bin/activate
cd doc/neps
- SPHINXOPTS=-q make -e html
+ SPHINXOPTS="-j4 -q" make -e html
- store_artifacts:
path: doc/build/html/