-
Notifications
You must be signed in to change notification settings - Fork 133
49 lines (41 loc) · 998 Bytes
/
docs.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Build Doc
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test_linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Configuring Test Environment
run: |
sudo apt-get update
sudo apt-get -y install build-essential doxygen
python3 -m pip install -U pip wheel
python3 -m pip install cmake ninja
python3 --version
python3 -m pip --version
doxygen --version
make --version
cmake --version
ninja --version
- name: Installing dependencies
run: |
python3 -m pip install -r doc_requirements.txt
- name: Testing CMakeLists.txt
run: |
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=./install -DBUILD_DOCS=ON
ninja
ninja install
- name: Testing Makefile
run: |
make doc