Draft: Use span for vectors. #40
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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Linux dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install cmake mpich libmpich-dev liblapack-dev | |
sudo apt-get install doxygen graphviz | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Configure code | |
run: cmake -Bbuild | |
- name: Build documentation | |
run: cmake --build build --target docs | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: './build/docs/doxygen/html' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |