From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web09.9262.1632987045501568962 for ; Thu, 30 Sep 2021 00:30:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=dg45Jlsz; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: ray.ni@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10122"; a="221920315" X-IronPort-AV: E=Sophos;i="5.85,335,1624345200"; d="scan'208";a="221920315" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 00:30:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,335,1624345200"; d="scan'208";a="707737219" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 30 Sep 2021 00:30:42 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 00:30:41 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 00:30:41 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 30 Sep 2021 00:30:41 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 30 Sep 2021 00:30:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DsmWQVQmLwGc5JTnaE5Wnp5XtLUjdcYxnkFGAibURZVTYk06RM3hqCSUJ/ChdIdfqFS0j4PfmIhZHa1BbQDBS5ePO8b28FJyEHB5XxSgq/CCO4Josmb7INehQSNmxYWL7zoIEUpko6tZx/rJAyyrc/7GoTZM8wXpKxXbGhbJaq/yAvw/1FzElQM1pxB/HYgz2ziVOLnTeo+LSYu+9MmA4A0GS9YYAyESl996bpO0ntSpLLUeAFMkMsetVrM1fCrWHWnGRWCcSD8SxU3NFjqtYk++Pa1BWKPFW1PWeU+B3pGTmy2HO4oYDX5Zn8wsRQT1h7eLWLTtIivcEdg/G2Jazw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2/UJFgZoxddKTrQAAVIasBptuVEBQFUI5Ypv+hlzkmc=; b=EJVStorq14x7PSuuXQPUBp5qUUBrXrZGkkb18RuMsu840jGn5GChhz/eBhHwutMrfElrAGYEKVXpkzj6b23sxUFArrMKyFbT2Gpgj8d/62RfiAZ5LeySE9PdXzp2jEk43v9HEMgugmqjnzOXaaoZCeVbDMtNXVI1j8ouW+isFrChGbv0loSkjiaMMWDwGG24P9Ys3D/tGDptCaLAjYF16gujLFaUKnE1nmfaHiBYLhL7yG0zhQLjhyDzkpWFTynRxJwNOh5pbTgzeXj1weIcdV9gbDnMqmAm9q9ZeBKXtUeoqqV89d7osszjhpQUtQzUOt5YLCTLUKJubPzZ7sm2aA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2/UJFgZoxddKTrQAAVIasBptuVEBQFUI5Ypv+hlzkmc=; b=dg45Jlsz3cbAP0FuLvKXgJhF2fjZYKxDTG0GGXN+CUQyszJMbra5ZI+4eFhssbQYBy6DtV8j/qmNTQttBHP8AShtyHhy3/D16w2z/Iqtm5novrWXqwpc+svPsfTbGJW3o8AXND2JzxLEXq3B1RomoivBKDGF1kMDb94o2oQnvlI= Received: from CY4PR1101MB2072.namprd11.prod.outlook.com (2603:10b6:910:1d::15) by CY4PR11MB1574.namprd11.prod.outlook.com (2603:10b6:910:f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13; Thu, 30 Sep 2021 07:30:40 +0000 Received: from CY4PR1101MB2072.namprd11.prod.outlook.com ([fe80::7dc5:34b5:bbff:832f]) by CY4PR1101MB2072.namprd11.prod.outlook.com ([fe80::7dc5:34b5:bbff:832f%8]) with mapi id 15.20.4566.015; Thu, 30 Sep 2021 07:30:40 +0000 From: "Ni, Ray" To: "Tan, Dun" , "devel@edk2.groups.io" CC: Sean Brogan , Bret Barkelew , "Kinney, Michael D" , Liming Gao Subject: Re: [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms Thread-Topic: [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms Thread-Index: AQHXtPzV38FaBytvckO3qFW+PkpUpqu8MBKQ Date: Thu, 30 Sep 2021 07:30:39 +0000 Message-ID: References: <20210929063731.428-1-dun.tan@intel.com> In-Reply-To: <20210929063731.428-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ebc74b8d-3d6a-4687-84a1-08d983e4342f x-ms-traffictypediagnostic: CY4PR11MB1574: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 61UXXnrOHaRAYCqboFIurL9V+cjZlnFYks2lUMUlml5pq1K7gOjbOozC1snV+eSgxG4T83u6Io4W8rPEioR4l+Lx+5W8XG5R23r3PdjgBO+Ko16OzBMzueWb94UnBFkQ1fw9FrAJw5LWL9XoqPptIiSN7fS515iRLV2qC22wqZ2gYo4+rR3sI0rnZK0ztSZS3dQIQQ4ils6Hig4tsjoi864eHM0D2IemTtmzWoypr2PwOzHICUUp4A9xuKuYi/ODorlsodwsLeweM6wIrY3BpBbPGbWx/d0JKrT3rHqvE0Lya9JkiJeRzPEHd8MT5l6CbOMR6pZbH2Cc+hBQKdlDGrWGtSofrOdocUJmmXrurPYWkGeIaFZIGZRA55vAwuyd0yrVa6aK/2oGzIh1WOZDviUqFfnvEp72B8swHNQd0nCWpzIdyRbNySPBjpQ+e1ovkLFt4Ty/j9Y9i7KtBt8NHvRw1+tQSGd2TPtw0fSWIF0L/U4eFRmHmxAx936deldsA0F2kWPZ4fESIj2rLEVLJF+rWVw4aW18AT0WdNXmal02Ez2sF2ca6e1/mHFlHEqDVunmzqh2dZYBzMCeAl6BT6b5r1ZYdqlaY5p83whRj8O2DZk825sCYevotwPdf1gWsDQWy6G2vNWAfRG/5xjLyD10/hUsniH4xcaQkh0mbN3DHHI+iMonOIfyyOIXrqcuS7wrsX3mxCvSqsn/sk3Gzg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR1101MB2072.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(4326008)(8936002)(66556008)(66446008)(64756008)(19627235002)(8676002)(86362001)(38100700002)(186003)(52536014)(122000001)(38070700005)(71200400001)(83380400001)(66946007)(33656002)(76116006)(66476007)(5660300002)(53546011)(7696005)(54906003)(26005)(110136005)(6506007)(55016002)(2906002)(316002)(508600001)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2Z+vAwNXY8U2Gn48ZR07V0a1J5I6bMM0vTLzdbuZjb4hVr9AREnv9o+RzXh4?= =?us-ascii?Q?aaGG6qdCAMtOOt20nHTdy5E3FHJNBUoOX8uYvgJ0bdyttHvE/a/11lywdfoj?= =?us-ascii?Q?JasWcrp7mP1cSDLlF6biSb5tUAJfB8wcdkfWvZyhuhD6ZsduY1zwUZ2hIEju?= =?us-ascii?Q?DpdF6SiBKwcQ0kYYZZ+eHTPL77OUJew3mG9em1xYf2TANUEnWRm+/CZYOQuB?= =?us-ascii?Q?WgbKlGgYtOuHXxQ00iTpaSiMVH6ZX6Ftj8sFItXzEmoX72PVhANdDo4K4nCt?= =?us-ascii?Q?pNuX/ML7boOr/f6GLYiWd4wkId/3xOxH5xeFnW4Fu1Nf+6afTUPu5MGEy+LZ?= =?us-ascii?Q?0MySX0gojWbVouwu6IPWIe4VL7G8wkbPkRDK8UANfuR8Obn5Vodh5Y+j9+qe?= =?us-ascii?Q?HNergmPA+QHmsKKU+8+KRstgwwq7IywXG2W/nmFi4RvHERo1GHcetZMeni4j?= =?us-ascii?Q?S0uTWN8hsFP6W0FWwShl4gDNoAbxg1edoHumdv6owZrYTNspWESGlzW6WNZV?= =?us-ascii?Q?FVhm44BA1VPuSXemlASj/L/EZEbzJZ4Ayy79SrL1aKr+JeYKWyQcZn9Gp2sA?= =?us-ascii?Q?EUSjc8PspgGG62VwKfJglZ2Kcv7nN+kTwDHnj2XjcwLSAbRUBHuoJi/t2jU0?= =?us-ascii?Q?AhBbcJfmM+DjI/ut9IyJWlUe/OrnXtAXxZbjSQ2FF3JLfXEgto+2638F0d1j?= =?us-ascii?Q?mzIPas2jXi0EtuGtTGkUciRDnQdPbZBq0McLDfcTCfWit5JMn1SqZOVKeaeX?= =?us-ascii?Q?mXu623WzDw7vgOeFWzL7NoHy63hq8wY6kQeTaUPScQN/bcqlIm4r1hiWv+vq?= =?us-ascii?Q?4VCfenZIW1U7TjjH53c4GzxtLTbg/+lGEtf01pHVb+vYoki5wgXrpyzy8aN3?= =?us-ascii?Q?+ifTUJVdp3SifuvIWdfaSjVmWndeV8IZvneEOS83b1pOg/w+Z8niBNFIu1r3?= =?us-ascii?Q?0aJ7GYIBgieMD9NNpKk6LlhrLH8Mvy+Bkl3LgaTC4z8zvqf8Ut563rpgslwY?= =?us-ascii?Q?aijH9gTBQaUosQURFqZJb5eJpiwhnFkdEg/osflDxusrykNJvX9YVAKRXG+Q?= =?us-ascii?Q?hqiyiR+8+d6wZ9WWa0xe6q7xIpWeWG4j9ya8VvdzRztfr1X/NQVxLekNFFp2?= =?us-ascii?Q?PyCMlYkS79ltm275+1zLi2VmytDD+JFdLyc3JzZ+DZZINMaUY09zdVllDllD?= =?us-ascii?Q?fW+x7tfdKjSp5QzP6C28prhOdLrf5jHZQ8OpPvz/k9B9BSAS8TGcH5RmYFo0?= =?us-ascii?Q?TQ0zHESRoNVGWsgHa8VHEvz/h872onJDhtrvxjmIk+upKkCGT8uNgPwjn2Ad?= =?us-ascii?Q?2VwdzLkg0mZCaqe9wZY5T4bE?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR1101MB2072.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebc74b8d-3d6a-4687-84a1-08d983e4342f X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2021 07:30:39.9188 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Zj1RnXFtjhhaxOxV0q43U1sbz6dNdNmNyOuXETJN/4n7SOZMWXcoz9OGZyoRuMX/qmWiEBW0XH8kQLDRj2bTaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1574 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Acked-by: Ray Ni > -----Original Message----- > From: Tan, Dun > Sent: Wednesday, September 29, 2021 2:38 PM > To: devel@edk2.groups.io > Cc: Sean Brogan ; Bret Barkelew ; Kinney, Michael D > ; Liming Gao ; Ni, = Ray > Subject: [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in E= dk2platforms >=20 > The edk2-platforms.yml contains the necessary github repo that will be > checked out, the platform name to build and the folders in edk2 which > will trigger the CI. The edk2platforms-run-steps.yml contains the main > steps to build WhiskeylakeOpenBoard. >=20 > Cc: Sean Brogan > Cc: Bret Barkelew > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Ray Ni >=20 > Signed-off-by: Dun Tan > --- > .azurepipelines/edk2-platforms.yml | 71 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > .azurepipelines/edk2platforms-run-steps.yml | 72 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 143 insertions(+) >=20 > diff --git a/.azurepipelines/edk2-platforms.yml b/.azurepipelines/edk2-pl= atforms.yml > new file mode 100644 > index 0000000000..5d47e213ad > --- /dev/null > +++ b/.azurepipelines/edk2-platforms.yml > @@ -0,0 +1,71 @@ > +## @file > +# Azure Pipeline build file for WhiskeylakeOpenBoard in Edk2platforms on= windows and ubuntu > +# > +# Copyright (c) 2021, Intel Corporation. All rights reserved.
> +# SPDX-License-Identifier: BSD-2-Clause-Patent > +## > +trigger: > + - master > + - stable/* > +pr: > + branches: > + include: > + - master > + - stable/* > + paths: > + include: > + - BaseTools > + - CryptoPkg > + - FatPkg > + - IntelFsp2WrapperPkg > + - MdeModulePkg > + - MdePkg > + - NetworkPkg > + - PcAtChipsetPkg > + - SecurityPkg > + - ShellPkg > + - UefiCpuPkg > + > +resources: > + repositories: > + - repository: edk2-platforms > + type: github > + endpoint: tianocore > + name: tianocore/edk2-platforms > + - repository: edk2-non-osi > + type: github > + endpoint: tianocore > + name: tianocore/edk2-non-osi > + - repository: FSP > + type: github > + endpoint: tianocore > + name: intel/FSP > + > +jobs: > + - job: Edk2Platforms_CI_Windows > + pool: > + vmImage: 'windows-latest' > + strategy: > + matrix: > + WhiskeylakeOpenBoard_WhiskeylakeURvp: > + Board.Name: "WhiskeylakeURvp" > + WhiskeylakeOpenBoard_UpXtreme: > + Board.Name: "UpXtreme" > + steps: > + - template: edk2platforms-run-steps.yml > + parameters: > + board_name: $(Board.Name) > + pool_name: 'windows-latest' > + > + - job: Edk2Platforms_CI_Linux > + pool: > + vmImage: 'ubuntu-latest' > + strategy: > + matrix: > + WhiskeylakeOpenBoard_WhiskeylakeURvp: > + Board.Name: "WhiskeylakeURvp" > + steps: > + - template: edk2platforms-run-steps.yml > + parameters: > + board_name: $(Board.Name) > + pool_name: 'ubuntu-latest' > diff --git a/.azurepipelines/edk2platforms-run-steps.yml b/.azurepipeline= s/edk2platforms-run-steps.yml > new file mode 100644 > index 0000000000..04b5d40fd8 > --- /dev/null > +++ b/.azurepipelines/edk2platforms-run-steps.yml > @@ -0,0 +1,72 @@ > +## @file > +# File templates/edk2platforms-run-steps.yml > +# > +# template file containing the steps to build > +# > +# Copyright (c) 2021, Intel Corporation. All rights reserved.
> +# SPDX-License-Identifier: BSD-2-Clause-Patent > +## > +parameters: > +- name: board_name > + type: string > + default: '' > +- name: pool_name > + type: string > + default: '' > + > +steps: > +- checkout: self > + submodules: true > +- checkout: edk2-non-osi > +- checkout: FSP > +- checkout: edk2-platforms > + > +- task: UsePythonVersion@0 > + inputs: > + versionSpec: "3.8.x" > + architecture: "x64" > + > +- ${{ if contains(parameters.pool_name, 'ubuntu') }}: > + - bash: | > + sudo apt-get update > + sudo apt-get install gcc g++ make uuid-dev nasm iasl > + displayName: Update apt and Install required tools > + - script: | > + source edksetup.sh > + echo "##vso[task.setvariable variable=3DPATH;]$PATH" > + displayName: Set env Path > + workingDirectory: edk2/ > + > +- ${{ if contains(parameters.pool_name, 'windows') }}: > + - powershell: | > + choco install iasl -y --version=3D2017.11.10 > + echo "##vso[task.setvariable variable=3DIASL_PREFIX;]C:\tools\ASL\= " > + choco install nasm -y > + echo "##vso[task.setvariable variable=3DNASM_PREFIX;]C:\Program Fi= les\NASM\" > + displayName: Windows EDK II Prerequisites > + > +# Build WhiskeylakeOpenBoard in edk2platforms > +- script: python build_bios.py --platform ${{ parameters.board_name}} > + displayName: Build platform ${{ parameters.board_name}} > + workingDirectory: edk2-platforms/Platform/Intel > + > +# Copy the build logs to the artifact staging directory > +- task: CopyFiles@2 > + displayName: "Copy build logs" > + inputs: > + targetFolder: "$(Build.ArtifactStagingDirectory)" > + SourceFolder: > + contents: | > + Build.log > + BuildReport.log > + flattenFolders: true > + condition: succeededOrFailed() > + > +# Publish build artifacts to Azure Artifacts/TFS or a file share > +- task: PublishBuildArtifacts@1 > + continueOnError: true > + displayName: "Publish build logs" > + inputs: > + pathtoPublish: "$(Build.ArtifactStagingDirectory)" > + artifactName: "Build Logs $(System.JobName)" > + condition: succeededOrFailed() > -- > 2.31.1.windows.1