From patchwork Mon Dec 16 17:28:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 22369 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 98093C32F6 for ; Mon, 16 Dec 2024 17:28:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C6F5B67F98; Mon, 16 Dec 2024 18:28:36 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Li+SfXog"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A252367F86 for ; Mon, 16 Dec 2024 18:28:31 +0100 (CET) Received: from pb-laptop.local (185.221.140.157.nat.pool.zt.hu [185.221.140.157]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 04440A30 for ; Mon, 16 Dec 2024 18:27:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734370075; bh=qjcZZsQRKwIh8STQQCRKNhHCE4RM9YDkzGUVtjEtpuM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Li+SfXogrWERDxXgYg2+DrB9G97vOreALrM/ohbqu4ZZ394vIo9T/0PZHQ5SN8Rtr +kbm/d5dernpFEGJ7Edz3Xi37at76RGK9j9UTZ2SzubzCMZXvKkXpRh26FeAKbZBhZ dmY43IocjBRqrl92Y1RqoN8BENpfD1/C3PtvgnzY= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [RFC PATCH v2 3/4] Add `build-package:debug` job Date: Mon, 16 Dec 2024 18:28:26 +0100 Message-ID: <20241216172827.1055088-3-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241216172827.1055088-1-barnabas.pocze@ideasonboard.com> References: <20241216172827.1055088-1-barnabas.pocze@ideasonboard.com> 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" Add a new job named `build-package:debug`, whose purpose is to create a build of libcamera with debugging additions (ASAN, UBSAN, STL checks), and then to publish the resulting package as an artifact for other jobs to use. Signed-off-by: Barnabás Pőcze --- gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 2.47.1 diff --git a/gitlab-ci.yml b/gitlab-ci.yml index f679d6e..0a3eab3 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -305,6 +305,39 @@ build-package:cros: reports: dotenv: env +build-package:debug: + extends: + - .fdo.distribution-image@debian + - .libcamera-ci.debian:12 + - .libcamera-ci.scripts + stage: build + needs: + - job: container-debian:12 + artifacts: false + script: + - $CI_PROJECT_DIR/.gitlab-ci/build-libcamera.sh + - $CI_PROJECT_DIR/.gitlab-ci/package-libcamera.sh + artifacts: + name: libcamera-debug-${ARCH}-${CI_COMMIT_SHA} + when: always + expire_in: 1 week + paths: + - build/meson-logs/ + - libcamera-${CI_COMMIT_SHA}.tar.xz + variables: + BUILD_TYPE: debug + MESON_OPTIONS: >- + -D auto_features=disabled + -D test=false + -D v4l2=false + -D b_sanitize=address,undefined + -D cpp_debugstl=true + -D pipelines=[] + parallel: + matrix: + - ARCH: amd64 + + # ------------------------------------------------------------------------------ # Lint stage - Run checkstyle.py and check merge suitability # ------------------------------------------------------------------------------