Skip to content
Snippets Groups Projects
Verified Commit e1bc946a authored by rahix's avatar rahix
Browse files

feat(ci): Build documentation


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent e3d4119b
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,23 @@ build:
script:
- ./bootstrap.sh
- ninja -C build/
pages:
stage: deploy
image: ubuntu:bionic
before_script:
- apt update -qq
- apt install -y -qq python3-pip git clang libclang-dev llvm
- pip3 install sphinx sphinx_rtd_theme clang
- git clone https://github.com/jnikula/hawkmoth.git
- (cd hawkmoth; python3 setup.py install)
script:
- export LD_LIBRARY_PATH=$(llvm-config --libdir)
- echo $LD_LIBRARY_PATH
- sphinx-build -b html Documentation/ Documentation/output/
- mv Documentation/output/ public/
artifacts:
paths:
- public/
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment