-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (28 loc) · 957 Bytes
/
doc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: documentation
on:
push:
branches: [main]
jobs:
build:
name: NFB Framework User Guide
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup and build
run: |
sudo apt-get install python3-pip doxygen git
sudo apt-get install autoconf automake libfdt-dev libnuma-dev libncurses-dev libarchive-dev libconfig-dev python3-dev python3-setuptools cython3
pip3 install sphinx sphinx_rtd_theme breathe fdt
bash build.sh --prepare
(mkdir cmake-build; cd cmake-build; cmake --install-prefix=/usr/ ..; make; sudo make install)
(cd pynfb; pip3 install .)
sphinx-build -M html doc public
touch public/html/.nojekyll
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: public/html