1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +02:00

meson: Update CI script to enforce building man pages and docs

`test_build.sh` is used by Jenkins, therefore it should build
everything. Docker container for Jenkins is expected to have all
the dependencies installed, and if some of them are missing, script
should fail.

Recently we had a situation when docker image was missing sphinx
and flashrom Jenkins was silently skipping building man-pages and
documentation. This patch prevents this happening again, because
building man pages and docs will be enforced.

Change-Id: Ib89abddad27d1168cf0a621cf4bdb9f541266165
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/81665
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anton Samsonov <avscomputing@gmail.com>
This commit is contained in:
Anastasia Klimchuk 2024-04-04 18:15:46 +11:00 committed by Anastasia Klimchuk
parent 2a5d2920d8
commit 124b6eaf6b

View File

@ -51,7 +51,7 @@ build_make () {
build_meson () {
build_dir=out
meson_opts="-Dtests=enabled"
meson_opts="-Dtests=enabled -Dman-pages=enabled -Ddocumentation=enabled"
ninja_opts="-j $(nproc)"
rm -rf ${build_dir}