call ctest #32
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
name: Documentation | |
on: | |
push: | |
tags: | |
- "*" | |
branches: [ main, master ] | |
jobs: | |
build: | |
name: Build and publish documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Install Docs | |
run: | | |
sudo apt-get install doxygen | |
pip install jinja2 Pygments | |
- name: prepare | |
run: | | |
make prepare | |
- name: configure | |
run: | | |
cmake -H. -Bbuild -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" | |
- name: building | |
run: | | |
cmake --build build --config Debug --target docs -j4 | |
- name: Deploy to GitHub Pages | |
uses: Cecilapp/GitHub-Pages-deploy@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
build_dir: ./docs/html |