summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-12 13:06:45 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-12 17:38:26 -0400
commitd9da078ddad3d4ebefd42955875421c45c55635d (patch)
tree70505e03942824c18d4ed312bc7616b6c9dd2ee5
parentf3b19f2cd398433a139a7f797b8b20f57c07a0d4 (diff)
downloadbuildstream-d9da078ddad3d4ebefd42955875421c45c55635d.tar.gz
.gitlab-ci.yml: Speed up docs build by setting up BST_SOURCE_CACHE
Use the gitlab cache for caching sources needed for building projects in order to collect sample output for documentation pages.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f4d4f1ba0..fc8a9cc66 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -141,11 +141,13 @@ tests-unix:
docs:
stage: test
script:
+ - export BST_SOURCE_CACHE="$(pwd)/cache/integration-cache/sources"
- pip3 install sphinx
- pip3 install sphinx-click
- pip3 install sphinx_rtd_theme
- cd dist && ./unpack.sh && cd buildstream
- pip3 install .
+ - make -C doc clean
- make -C doc
- cd ../..
- mv dist/buildstream/doc/build/html public