-
Notifications
You must be signed in to change notification settings - Fork 3
68 lines (54 loc) · 1.67 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2021-2024 Eike Hein <[email protected]>
name: Documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-24.04 # Current base for KDE Neon
container:
image: invent-registry.kde.org/neon/docker-images/plasma:developer
options: --user root
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update
apt-get install -y build-essential git cmake gettext
apt-get install -y qt6-base-dev qt6-declarative-dev qt6-httpserver-dev qt6-remoteobjects-dev \
qt6-serialport-dev qt6-shadertools-dev qt6-websockets-dev
apt-get install -y extra-cmake-modules kf6-kconfig-dev kf6-kcoreaddons-dev kf6-ki18n-dev
apt-get install -y graphviz doxygen doxyqml
- name: Configure
run: |
cmake \
-B build \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-DBUILD_ONBOARD=false \
-DBUILD_CLI=false \
-DBUILD_DOCS=true
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/docs/html/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4