Enable tests in the Makefile build process #11
This file contains hidden or 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 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Install dependencies | |
run: | | |
make dependency | |
- name: prepare | |
run: | | |
make clean | |
- name: clean configure | |
run: | | |
make clean-cache-reconfigure | |
- name: building | |
run: | | |
make build | |
- name: Documentation generation | |
run: | | |
make html | |
- name: Deploy to GitHub Pages | |
uses: Cecilapp/GitHub-Pages-deploy@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
email: 7osssam@protonmail.ch | |
build_dir: ./docs/doxygen/html |