Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E05B5C61DA4 for ; Sun, 19 Feb 2023 14:59:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 23EA985942; Sun, 19 Feb 2023 15:59:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="TfcLfSs/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6A8DE850D4; Sun, 19 Feb 2023 15:58:19 +0100 (CET) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D670785851 for ; Sun, 19 Feb 2023 15:52:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2a.google.com with SMTP id i205so285350ioa.1 for ; Sun, 19 Feb 2023 06:52:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=byl+QHVAX/HMQkxCvIXHuOZITnZjh2Bsv1IU7jeNsTI=; b=TfcLfSs/R//mh9qJREakRgNC84DYbCqRHKzPaB9AdtmsoSUCsIfRDW3FWLlFVykxmf yLraueatTK1XMezTULuQ2cm5ncHXDPDy8eFHAOmtnvv5IPXVV7jSETuRsNafdFdC0d5O zdeE3TLv3iMy+glT32zXcPhjtYYh4xE5iXh8U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=byl+QHVAX/HMQkxCvIXHuOZITnZjh2Bsv1IU7jeNsTI=; b=oqaYsEjiXMEMJcd6g3TISUIWCw5mT/TAzsrf+3x/QEwdVxHatUwn0iEDYvLhAg8sJE Y7aW6Kn07b5m4XmYO2Bu5Zw2G3XJCbXI7kBqdsx+xb38TG7l+rQmSz6PRCtkvNkSISQV Tq7ceK6SVNkm1AWlraauvtoQHUR0KqNF9UiLZImm3FLSa8ni2GxSg/oJxzxD2FPzTAUN 0hu32wAZUVabQSZMYj+GQHLKiUFWeVWYAsuDwMB4Mv41W/g28vLuRZrsbbc63a7ti1tI mWB5On7SxJj3BVrCOmrwMoX+bWnxNB8pu6cRe3iPZRIoDnJK6xhPMpOBtiRtjoRvcd5g ZF9Q== X-Gm-Message-State: AO0yUKXlL1DLKQ/BY2VdkZtX0JWeQGeyiaqtsTjPo7lgHIEzaNsP6xny uIsI4UBYwDL4yDf7eJpwcBNzpzaCS5pj8Au3 X-Google-Smtp-Source: AK7set/NAhFhAX0HXJMEOHQf4JzyA/q2Ww6gV3OzHA3z1O0qx8ehgaRrV2fUIgt0/Ucb67IFRtmmfA== X-Received: by 2002:a6b:6115:0:b0:744:e473:5437 with SMTP id v21-20020a6b6115000000b00744e4735437mr8376624iob.10.1676818318184; Sun, 19 Feb 2023 06:51:58 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id c84-20020a6bb357000000b0071c66d1a2fcsm3444772iof.0.2023.02.19.06.51.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 06:51:58 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Alper Nebi Yasak , Neha Malcom Francis , Stefan Herbrechtsmeier , Philippe Reynes , Peng Fan , Simon Glass , Joel Stanley , Rick Chen Subject: [PATCH 15/15] CI: Add a check for building tools for PyPi Date: Sun, 19 Feb 2023 07:51:23 -0700 Message-Id: <20230219145124.1782335-16-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230219145124.1782335-1-sjg@chromium.org> References: <20230219145124.1782335-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass --- .azure-pipelines.yml | 10 ++++++++++ .gitlab-ci.yml | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 8327edf87aa..6cd93f7f4d2 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -225,6 +225,16 @@ stages: # have no matches. - script: git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0 + - job: check_packing_of_python_tools + displayName: 'Check we can package the Python tools' + pool: + vmImage: $(ubuntu_vm) + container: + image: $(ci_runner_image) + options: $(container_option) + steps: + - script: make pip + - stage: test_py jobs: - job: test_py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3ceca2974d..bc64e221efd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -244,6 +244,12 @@ Check for pre-schema tags: # have no matches. - git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0 +# Check we can package the Python tools +Check packing of Python tools: + stage: testsuites + script: + - make pip + # Test sandbox with test.py sandbox test.py: variables: -- 2.39.2.637.g21b0678d19-goog