Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
e1bc946a
Verified
Commit
e1bc946a
authored
Jul 08, 2019
by
Rahix
Browse files
feat(ci): Build documentation
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
e3d4119b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e1bc946a
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment