-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configuration for autodoc with sphinx
- Loading branch information
1 parent
5b94a33
commit 67dceff
Showing
11 changed files
with
5,991 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ name: C/C++ CI | |
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
branches: ["main"] | ||
pull_request: | ||
branches: [ "main" ] | ||
branches: ["main"] | ||
|
||
jobs: | ||
build: | ||
|
@@ -14,9 +14,14 @@ jobs: | |
- name: git | ||
run: git --version | ||
- name: configure | ||
run: sudo apt-get install make cmake build-essential | ||
run: | | ||
sudo apt-get install make cmake build-essential libomp-dev doxygen | ||
pip3 install sphinx | ||
pip3 install breathe | ||
pip3 install pydata-sphinx-theme | ||
pip3 install sphinx-sitemap | ||
- name: gtest | ||
run: | | ||
run: | | ||
sudo apt-get install libgtest-dev | ||
cd ${{github.workspace}} | ||
mkdir lib | ||
|
@@ -28,13 +33,28 @@ jobs: | |
cmake ../ | ||
make | ||
- name: build | ||
run: | | ||
run: | | ||
cd ${{github.workspace}} | ||
mkdir build | ||
cd build | ||
cmake ../ | ||
make | ||
- name: test | ||
run: | | ||
run: | | ||
cd ${{github.workspace}}/build | ||
ctest --output-on-failure | ||
- name: checout repo | ||
uses: actions/[email protected] | ||
- name: build docs | ||
run: | | ||
cd docs_sphinx | ||
doxygen Doxyfile.in | ||
make html | ||
cd _build/html | ||
touch .nojekyll | ||
- name: deploy docs | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
FOLDER: docs_sphinx/_build/html # The folder the action should deploy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
lib/ | ||
build/ | ||
docs/ | ||
venv/ | ||
bin/ | ||
docs_sphinx/_build/ | ||
docs_sphinx/_static/ | ||
docs_sphinx/_templates/ | ||
*/**.o | ||
*.**.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.