diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index befcff6798ac4ae32802a84471a3821014f32ca1..321cdc92b0fb332d262fe9dbe7ddcf5b4c4bd866 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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