Commit c40329b2 authored by Tiago Peixoto's avatar Tiago Peixoto

CI: avoid race condition in parallel sphinx-build

parent 2c87c01d
Pipeline #639 passed with stage
in 269 minutes and 16 seconds
......@@ -5,7 +5,7 @@ job_gcc_amd64:
- CCACHE_BASEDIR=$PWD make $MAKEOPTS
- make install
- export PYTHONPATH=$PWD/install/site-packages
- cd doc; (pids=(); for f in `ls *rst`; do python3 /usr/bin/sphinx-build -b doctest . build $f & pids+=($!); done; for p in "${pids[@]}"; do wait $p; done)
- cd doc; (mkdir builds envs; pids=(); for f in `ls *rst`; do python3 /usr/bin/sphinx-build -E -d envs/$f -b doctest . builds/$f $f & pids+=($!); done; for p in "${pids[@]}"; do wait "$p"; done);
tags:
- amd64
except:
......@@ -18,7 +18,7 @@ job_clang_amd64:
- CCACHE_BASEDIR=$PWD make $MAKEOPTS
- make install
- export PYTHONPATH=$PWD/install/site-packages
- cd doc; (pids=(); for f in `ls *rst`; do python3 /usr/bin/sphinx-build -b doctest . build $f & pids+=($!); done; for p in "${pids[@]}"; do wait $p; done)
- cd doc; (mkdir builds envs; pids=(); for f in `ls *rst`; do python3 /usr/bin/sphinx-build -E -d envs/$f -b doctest . builds/$f $f & pids+=($!); done; for p in "${pids[@]}"; do wait "$p"; done);
tags:
- amd64
except:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment