Verified Commit e1bc946a authored by Rahix's avatar Rahix
Browse files

feat(ci): Build documentation


Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent e3d4119b
...@@ -11,3 +11,23 @@ build: ...@@ -11,3 +11,23 @@ build:
script: script:
- ./bootstrap.sh - ./bootstrap.sh
- ninja -C build/ - 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
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