-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 961 Bytes
/
dev-docs.yml
File metadata and controls
35 lines (33 loc) · 961 Bytes
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
31
32
33
34
35
name: libsnark-ci-dev-docs
on:
push:
branches: [ develop ]
jobs:
build-documentation:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository and install submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y build-essential git libboost-all-dev cmake libgmp3-dev libssl-dev libprocps-dev pkg-config
sudo apt install -y doxygen graphviz
- name: Generate documentation
run: |
mkdir -p build
pushd build
cmake -DGEN_DOC=ON ..
make build_docs
popd
- name: GH Pages Deployment
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/docs/html/
enable_jekyll: false
allow_empty_commit: false
force_orphan: true
publish_branch: doxy-gh-pages