-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (44 loc) · 1.34 KB
/
doxygen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# https://gist.github.com/shundhammer/ed359db0d9329d4db551528256060d2a?permalink_comment_id=3987881#gistcomment-3987881
# https://github.com/peaceiris/actions-gh-pages
name: Doxygen
on:
repository_dispatch:
push:
branches:
- main
- gh-pages
jobs:
make_and_deploy_doxygen:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
container:
image: docker://dealii/dealii:master-focal-root
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install doxygen and latex components
run: sudo apt-get update; sudo apt-get install -y doxygen graphviz texlive-full
- name: Configure
run: |
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt \
-DDEAL_II_SOURCE_DIR=/usr/src/dealii \
-DBUILD_BENCHMARKS=ON \
-DBUILD_TESTS=OFF \
-DSTRICT_BUILD_FLAGS=OFF \
-DBUILD_DOCUMENTATION=ON \
-DDOC_WITH_MATHJAX=ON \
../
make documentation
# Deploy to GitHub Pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/html