Merge pull request #233 from abeimler/fix/use-setup-cpp-mingw #17
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: docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup Cpp | |
uses: aminya/setup-cpp@v1 | |
with: | |
cmake: true | |
ninja: true | |
task: true | |
doxygen: true | |
- name: Setup pandoc | |
run: | | |
wget https://github.com/jgm/pandoc/releases/download/3.1.2/pandoc-3.1.2-1-amd64.deb | |
sudo dpkg -i pandoc-3.1.2-1-amd64.deb | |
rm pandoc-3.1.2-1-amd64.deb | |
- name: Build Documentation | |
run: | | |
git checkout main | |
task docs | |
# TODO Automatic deploys fail | |
# - name: Deploy Documentation | |
# uses: Cecilapp/GitHub-Pages-deploy@v3 | |
# with: | |
# build_dir: docs/build/html/ | |
# branch: gh-pages | |
# email: [email protected] | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |