Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Doxygen GitHub Pages Deploy Action

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install dependencies
run: |
sudo apt update
sudo apt install gcc-10 g++-10 mpich doxygen

- name: Configure CMake
env:
MPICH_CXX: g++-10
MPICH_CC: gcc-10
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_VERBOSE_MAKEFILE=ON -DMESHES=${{github.workspace}}/pumi-meshes -DIS_TESTING=ON -DSCOREC_CXX_WARNINGS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install -DSCOREC_NO_MPI=ON

- name: Generate Doc
run: doxygen ${{github.workspace}}/build/Doxyfile

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./doc/html

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4