From 124b6eaf6babb292d871594f61fc2b15fda28f31 Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Thu, 4 Apr 2024 18:15:46 +1100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/81665 Reviewed-by: Martin L Roth Tested-by: build bot (Jenkins) Reviewed-by: Anton Samsonov --- test_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_build.sh b/test_build.sh index 9b490dc3d..ee8649634 100755 --- a/test_build.sh +++ b/test_build.sh @@ -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}