Commit cb977c1 1 parent eb659fe commit cb977c1 Copy full SHA for cb977c1
File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : docs
3
+
4
+ on :
5
+ push :
6
+ branches : [master]
7
+ paths :
8
+ - Documentation/**
9
+ pull_request :
10
+ branches : [master]
11
+ paths :
12
+ - Documentation/**
13
+
14
+ workflow_dispatch :
15
+
16
+ jobs :
17
+ build-docs :
18
+ name : build documentation
19
+ runs-on : ubuntu-latest
20
+ container :
21
+ image : ghcr.io/igaw/linux-nvme/debian:latest
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ - name : build
25
+ run : |
26
+ scripts/build.sh docs
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ usage() {
22
22
echo " coverage build coverage report"
23
23
echo " appimage build AppImage target"
24
24
echo " distro build libnvme and nvme-cli separately"
25
+ echo " docs build documentation"
25
26
echo " "
26
27
echo " configs with muon:"
27
28
echo " [default] minimal static build"
@@ -116,6 +117,15 @@ config_meson_appimage() {
116
117
" ${BUILDDIR} "
117
118
}
118
119
120
+ config_meson_docs () {
121
+ CC=" ${CC} " " ${MESON} " setup \
122
+ -Ddocs=all \
123
+ -Ddocs-build=true \
124
+ --force-fallback-for=libnvme \
125
+ -Dlibnvme:werror=false \
126
+ " ${BUILDDIR} "
127
+ }
128
+
119
129
build_meson () {
120
130
" ${MESON} " compile \
121
131
-C " ${BUILDDIR} "
You can’t perform that action at this time.
0 commit comments