File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish documentation
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Set up Python 3.9
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : 3.9
19+
20+ - name : Install deps
21+ run : |
22+ sudo apt-get update -qq
23+ sudo apt-get install libxerces-c-dev xsdcxx cmake doxygen -qq
24+ python -m pip install --upgrade pip
25+ pip install ghp-import
26+
27+ - name : Create build folder for out-of-source build
28+ shell : bash
29+ run : |
30+ mkdir ${{github.workspace}}/NeuroML_API_build
31+
32+ - name : Configure CMake build
33+ working-directory : ${{github.workspace}}/NeuroML_API_build
34+ shell : bash
35+ run : |
36+ cmake $GITHUB_WORKSPACE
37+
38+ - name : Build
39+ working-directory : ${{github.workspace}}/NeuroML_API_build
40+ shell : bash
41+ run : |
42+ cmake --build .
43+
44+ - name : Generate doxygen documentation
45+ shell : bash
46+ working-directory : ${{github.workspace}}/NeuroML_API_build
47+ run : |
48+ doxygen Doxyfile
49+
50+ - name : Publish documentation on GH pages
51+ working-directory : ${{github.workspace}}/NeuroML_API_build
52+ run : |
53+ ghp-import -n docs/html
You can’t perform that action at this time.
0 commit comments