-
Notifications
You must be signed in to change notification settings - Fork 155
41 lines (37 loc) · 1.03 KB
/
deploy-docs.yml
File metadata and controls
41 lines (37 loc) · 1.03 KB
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
name: Build and Deploy Doxygen Docs
on:
push:
branches: [ development ]
# pull_request: # For testing only. Remove before merge!
# branches: [ development ]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-24.04
strategy:
fail-fast: true
continue-on-error: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install Phasar Dependencies
shell: bash
run: |
./utils/InstallAptDependencies.sh --noninteractive tzdata doxygen graphviz
- name: Build Doxygen Docs
shell: bash
env:
CXX: clang++-16
CC: clang-16
run: |
cmake -S . -B build -DPHASAR_BUILD_DOC=ON
cmake --build ./build --target doc_doxygen
- name: Deploy Doxygen Docs on GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/docs/html
token: ${{ secrets.GITHUB_TOKEN }}