Skip to content
Snippets Groups Projects
Commit ad2344fd authored by Tobias Winchen's avatar Tobias Winchen
Browse files

CICD: Build documentation

parent daceaefe
No related branches found
No related tags found
No related merge requests found
Pipeline #87230 failed
......@@ -16,7 +16,8 @@ before_script:
- git submodule init
- git submodule update
- apt-get -y update && apt-get install -y python3-pip python3-graphviz doxygen
- pip3 install sphinx sphinxcontrib-apidoc sphinx-rtd-theme recommonmark sphinxcontrib-napoleon sphinx-autoapi
- pip3 install sphinx sphinxcontrib-apidoc sphinx-rtd-theme recommonmark \
sphinxcontrib-napoleon sphinx-autoapi breathe exhale
build_cuda:
stage: build
......@@ -29,14 +30,38 @@ build_cuda:
paths:
- build
run_tests:
stage: test
script:
- cd build
- make CTEST_OUTPUT_ON_FAILURE=1 test
only:
- pushes
- merge_requests
make_doc:
stage: test
script:
- cd build
- make doc
artifacts:
paths:
- build
pages:
stage: deploy
dependencies:
- make_doc
script:
- mv doc/* public/
artifacts:
paths:
- public
only:
- dev
- cicd
- doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment