Commit d9da078d authored by Tristan Van Berkom's avatar Tristan Van Berkom

.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.
parent f3b19f2c
Pipeline #28406842 canceled with stages
in 46 seconds
......@@ -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
......
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