mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Speedup: build docs in parallel (GH-92733)
This commit is contained in:
parent
0d8500c739
commit
a487623c6b
2 changed files with 4 additions and 4 deletions
6
.github/workflows/doc.yml
vendored
6
.github/workflows/doc.yml
vendored
|
|
@ -43,12 +43,12 @@ jobs:
|
|||
# Run "check doctest html" as 3 steps to get a more readable output
|
||||
# in the web UI
|
||||
- name: 'Check documentation'
|
||||
run: make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going -j4" check
|
||||
run: make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going" check
|
||||
# Use "xvfb-run" since some doctest tests open GUI windows
|
||||
- name: 'Run documentation doctest'
|
||||
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going -j4" doctest
|
||||
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going" doctest
|
||||
- name: 'Build HTML documentation'
|
||||
run: make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going -j4" html
|
||||
run: make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going" html
|
||||
- name: 'Upload'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue