Commit ad2344fd authored by Tobias Winchen's avatar Tobias Winchen
Browse files

CICD: Build documentation

parent daceaefe
...@@ -16,7 +16,8 @@ before_script: ...@@ -16,7 +16,8 @@ before_script:
- git submodule init - git submodule init
- git submodule update - git submodule update
- apt-get -y update && apt-get install -y python3-pip python3-graphviz doxygen - 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: build_cuda:
stage: build stage: build
...@@ -29,14 +30,38 @@ build_cuda: ...@@ -29,14 +30,38 @@ build_cuda:
paths: paths:
- build - build
run_tests: run_tests:
stage: test stage: test
script: script:
- cd build - cd build
- make CTEST_OUTPUT_ON_FAILURE=1 test - 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
......
Supports Markdown
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