From nobody Mon Feb 9 01:11:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1692986166; cv=none; d=zohomail.com; s=zohoarc; b=bH4peYVJSDSW+4DLY37DrqHV4+AKXHB5lN/Qrx065FLRSEkVoDa4vjfjSMJXKg+MLbB1MjH+y0ttcX9TqQufNtlBJGdNdkpFpJt1y0H5bFL67boFcMjdaXG2mPltToum8h47NwEfciv52KM6NeCizev0Jl2/LG2MZaWzCDkl2Rg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692986166; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YT4mWPnE8si5mGZ42wa4wwXM66AUwCyVqsErJlFMHbA=; b=MFkeTQXXP/lUPj/X2YgVlneI17lu3ORwc+1jXuxFHVBHE87EX8JqkFX1ZeB2d3jLYDlGWqqVus7+7A73PsTW2jOkO/WIi4AhfV0MhI2bATgbLM6fZ7j7+yUVn9Z9qiMrtb1zavRXMHy7iCGY8N5ENR4W+oCUFoqIqi25Evkv8GQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1692986166681426.26147068353066; Fri, 25 Aug 2023 10:56:06 -0700 (PDT) Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-217-zmmZkUb1NZiAxgZBPkzHjw-1; Fri, 25 Aug 2023 13:55:59 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2D47A3815F82; Fri, 25 Aug 2023 17:55:53 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 124A740C207D; Fri, 25 Aug 2023 17:55:53 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B49A01946A40; Fri, 25 Aug 2023 17:55:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4FCC419465A8 for ; Fri, 25 Aug 2023 17:55:51 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 2ED1C4A9004; Fri, 25 Aug 2023 17:55:51 +0000 (UTC) Received: from orca.. (unknown [10.45.225.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id AAE64492C14; Fri, 25 Aug 2023 17:55:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692986165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YT4mWPnE8si5mGZ42wa4wwXM66AUwCyVqsErJlFMHbA=; b=PzYlhFRiv6F0CPp7qA+3u8XYY3++PFV8sp8eJdqOjQCQvHb259+hgB+ipnu2kyIiQqI/k+ R5pCTLSN1FUnB8nNsW7V9kAZ9UdMhoEVbdhfcm/tY+iT8JIkdLTJO4Lo+id+MkC7iYs0oC CeGMqN0LqKLKAwQKAqSFRJAfEnOix+g= X-MC-Unique: zmmZkUb1NZiAxgZBPkzHjw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 09/33] ci: build.sh: Add a wrapper function over the 'codestyle' job Date: Fri, 25 Aug 2023 19:55:17 +0200 Message-ID: <747110e658117c60968567510b5c3cc56d4206fc.1692986130.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692986167942100003 Content-Type: text/plain; charset="utf-8"; x-default="true" This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety --- ci/build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index ab471f2741..b2891a0c0f 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -73,3 +73,12 @@ run_test() { run_meson_setup run_cmd "$CMD" } + +run_codestyle() { + BUILD_ARGS=3D"libvirt-pot-dep" + TEST_ARGS=3D"--suite syntax-check --no-rebuild --print-errorlogs" + + run_meson_setup + run_build + run_test +} --=20 2.41.0