From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com []) by mx.groups.io with SMTP id smtpd.web11.31012.1590742511353905142 for ; Fri, 29 May 2020 01:55:19 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: shenglei.zhang@intel.com) IronPort-SDR: KtfXDN9HGrAz6wSH0gkD41Wrzc2T6LzpLbY+ndSdXpYm29o9ItNEwR2wNwkEKYRMaNiOqNBuL7 CB7BRFbex6Ng== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2020 01:55:19 -0700 IronPort-SDR: twJj0h8bLADuzPf6wb5wDpwl6CCoKoZWt1S+uJlQ2ESd096FFPwAWsgEgwosmvyMAuyAwyLNjd npds5AIvPvfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,448,1583222400"; d="scan'208";a="256036887" Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by fmsmga007.fm.intel.com with ESMTP; 29 May 2020 01:55:18 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [PATCH 4/5] .azurepiplines: Add a pipline to check ECC issues for commits Date: Fri, 29 May 2020 16:55:03 +0800 Message-Id: <20200529085504.13972-5-shenglei.zhang@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20200529085504.13972-1-shenglei.zhang@intel.com> References: <20200529085504.13972-1-shenglei.zhang@intel.com> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2606 Add a pipeline to run the ECC checks on Azure Pipelines agents for edk2 open ci. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang --- .azurepipelines/Windows-EccCheck.yml | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .azurepipelines/Windows-EccCheck.yml diff --git a/.azurepipelines/Windows-EccCheck.yml b/.azurepipelines/Windows-EccCheck.yml new file mode 100644 index 000000000000..3b9126649cb0 --- /dev/null +++ b/.azurepipelines/Windows-EccCheck.yml @@ -0,0 +1,38 @@ +## @file +# Azure Pipielines YML file that evalues the patch series in a PR using the +# python script BaseTools/Scripts/PatchCheck.py. +# +# NOTE: This example monitors pull requests against the edk2-ci branch. Most +# environments would replace 'edk2-ci' with 'master'. +# +# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +# https://github.com/tianocore +# +## + +trigger: none + +pr: +- master + +pool: + vmImage: 'windows-latest' + +steps: +- checkout: self + clean: true + +- task: UsePythonVersion@0 + inputs: + versionSpec: '3.8.x' + architecture: 'x64' + +- script: pip install -r pip-requirements.txt + displayName: 'Install/Upgrade pip modules' + +- script: | + git fetch origin $(System.PullRequest.TargetBranch):$(System.PullRequest.TargetBranch) + py -3 BaseTools/Scripts/EccCheck.py $(System.PullRequest.TargetBranch) $(System.PullRequest.SourceCommitId) + displayName: 'Use EccCheck.py to verify patch series in pull request' -- 2.18.0.windows.1