diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-06-12 13:06:45 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-06-12 17:38:26 -0400 |
commit | d9da078ddad3d4ebefd42955875421c45c55635d (patch) | |
tree | 70505e03942824c18d4ed312bc7616b6c9dd2ee5 /.gitlab-ci.yml | |
parent | f3b19f2cd398433a139a7f797b8b20f57c07a0d4 (diff) | |
download | buildstream-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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
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 |