Use doxygen and gcc, no need for clang #5
Workflow file for this run
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: doc | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
branches: | |
- release-v* | |
concurrency: | |
group: doc-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}-${{github.workflow}} | |
cancel-in-progress: true | |
jobs: | |
user: | |
name: user | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y install \ | |
cmake graphviz ninja-build doxygen gcc | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Check out Celeritas | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 255 | |
fetch-tags: true | |
- name: Install Python packages | |
run: | | |
pip install --upgrade pip | |
pip install -r scripts/requirements.txt | |
- name: Build Celeritas documentation | |
run: | | |
mkdir build && cd build | |
cmake -DCELERITAS_BUILD_DOCS=ON -GNinja .. | |
ninja doc | |
- name: Upload pages artifacts | |
id: upload-pages | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: build/doc/html | |
- name: Deploy pages | |
id: deploy-pages | |
uses: actions/deploy-pages@v2 | |