From patchwork Sat Jul 26 21:22:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 23974 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id EA28AC3237 for ; Sat, 26 Jul 2025 21:23:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3904A690A5; Sat, 26 Jul 2025 23:23:05 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="vC3ReDjJ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 94D45690A5 for ; Sat, 26 Jul 2025 23:23:02 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 962976F2; Sat, 26 Jul 2025 23:22:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1753564941; bh=iV6HKchyuLNbKOlq4irfrnc5X8qjPxuOai2nLuzN78g=; h=From:To:Cc:Subject:Date:From; b=vC3ReDjJVuh/T9AX1TnkHg1nNn8/g7Mfdw8HqocGa/lJTDIXtJya1COz57BUaewP/ dEs6li/hdI7FVMf247Ue+X/IgqOQM4V1s0Lv24k9cMfYyJ5qBQb3PxdwXiPPx34+D3 GMSg/UQ5qmLNIMRK3QSuk2gzRjsFo+yKxVCKtFiM= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Kieran Bingham , =?utf-8?q?Barnab?= =?utf-8?b?w6FzIFDFkWN6ZQ==?= Subject: [PATCH] Avoid duplicated documentation builds Date: Sun, 27 Jul 2025 00:22:56 +0300 Message-ID: <20250726212256.23309-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.49.1 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The libcamera documentation is built as part of every build job. This wastes CPU cycles. Build it only in the gcc 12 debug job, chosen semi-randomly. We could also split the documentation build to a separate job, but short-running jobs are discouraged as they waste significant amount of resources to spawn the container in the runner. Signed-off-by: Laurent Pinchart --- gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) base-commit: 4b70e68d2f96c7ce31257c8d344fffdf89df515a prerequisite-patch-id: 55552e4e0d2bcc25511477d5792e2658b98d6365 prerequisite-patch-id: a801a72e0f23b9916ac9db210cee5ba09b734db4 diff --git a/gitlab-ci.yml b/gitlab-ci.yml index cad4c2b0c445..03ea7795f3ff 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -16,7 +16,7 @@ variables: -D b_sanitize=address -D cam=enabled -D cpp_debugstl=true - -D documentation=enabled + -D documentation=disabled -D gstreamer=enabled -D lc-compliance=enabled -D pipelines=['all'] @@ -170,13 +170,16 @@ build-full:debian:12: variables: MESON_OPTIONS: >- ${MESON_ALL_OPTIONS} - -D doc_werror=true parallel: matrix: - ARCH: amd64 BUILD_TYPE: debug CC: gcc-12 CXX: g++-12 + MESON_OPTIONS: >- + ${MESON_ALL_OPTIONS} + -D documentation=enabled + -D doc_werror=true - ARCH: amd64 BUILD_TYPE: release CC: gcc-12