public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms
       [not found] <16A937B5BF644F83.16095@groups.io>
@ 2021-09-29  6:42 ` duntan
       [not found] ` <16A937DEEE351F87.16095@groups.io>
  1 sibling, 0 replies; 3+ messages in thread
From: duntan @ 2021-09-29  6:42 UTC (permalink / raw)
  To: devel@edk2.groups.io, Tan, Dun
  Cc: Sean Brogan, Bret Barkelew, Kinney, Michael D, Liming Gao,
	Ni, Ray

Hi all,

Since I don't have the administrator access of Tiano edk2 CI, I can't create a new pipeline based on my .yml file to test my script. So I have to copy the content in edk2-platforms.yml to Windows-VS2019.yml and  change file in the included path in .yml file to trigger the PR CI and verify whether the edk2platforms CI test can pass. Here is the PR link and the azure pipeline CI link.
https://github.com/tianocore/edk2/pull/2027
https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=30289&view=results

Thanks,
Dun
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan
Sent: Wednesday, September 29, 2021 2:38 PM
To: devel@edk2.groups.io
Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
Subject: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms

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.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>

Signed-off-by: Dun Tan <dun.tan@intel.com>
---
 .azurepipelines/edk2-platforms.yml          | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 .azurepipelines/edk2platforms-run-steps.yml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 143 insertions(+)

diff --git a/.azurepipelines/edk2-platforms.yml b/.azurepipelines/edk2-platforms.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.<BR> # 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/.azurepipelines/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.<BR> # 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=PATH;]$PATH"
+    displayName: Set env Path
+    workingDirectory: edk2/
+
+- ${{ if contains(parameters.pool_name, 'windows') }}:
+  - powershell: |
+      choco install iasl -y --version=2017.11.10
+      echo "##vso[task.setvariable variable=IASL_PREFIX;]C:\tools\ASL\"
+      choco install nasm -y
+      echo "##vso[task.setvariable variable=NASM_PREFIX;]C:\Program Files\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







^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms
       [not found] ` <16A937DEEE351F87.16095@groups.io>
@ 2021-10-08  9:44   ` duntan
  2021-10-26  9:37     ` Ni, Ray
  0 siblings, 1 reply; 3+ messages in thread
From: duntan @ 2021-10-08  9:44 UTC (permalink / raw)
  To: devel@edk2.groups.io, Tan, Dun
  Cc: Sean Brogan, Bret Barkelew, Kinney, Michael D, Liming Gao,
	Ni, Ray

Hi all,
Can you please help to review this patch? Thanks a lot.

Thanks,
Dun
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan
Sent: Wednesday, September 29, 2021 2:43 PM
To: devel@edk2.groups.io; Tan, Dun <dun.tan@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
Subject: Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms

Hi all,

Since I don't have the administrator access of Tiano edk2 CI, I can't create a new pipeline based on my .yml file to test my script. So I have to copy the content in edk2-platforms.yml to Windows-VS2019.yml and  change file in the included path in .yml file to trigger the PR CI and verify whether the edk2platforms CI test can pass. Here is the PR link and the azure pipeline CI link.
https://github.com/tianocore/edk2/pull/2027
https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=30289&view=results

Thanks,
Dun
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan
Sent: Wednesday, September 29, 2021 2:38 PM
To: devel@edk2.groups.io
Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
Subject: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms

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.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>

Signed-off-by: Dun Tan <dun.tan@intel.com>
---
 .azurepipelines/edk2-platforms.yml          | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 .azurepipelines/edk2platforms-run-steps.yml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 143 insertions(+)

diff --git a/.azurepipelines/edk2-platforms.yml b/.azurepipelines/edk2-platforms.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.<BR> # 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/.azurepipelines/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.<BR> # 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=PATH;]$PATH"
+    displayName: Set env Path
+    workingDirectory: edk2/
+
+- ${{ if contains(parameters.pool_name, 'windows') }}:
+  - powershell: |
+      choco install iasl -y --version=2017.11.10
+      echo "##vso[task.setvariable variable=IASL_PREFIX;]C:\tools\ASL\"
+      choco install nasm -y
+      echo "##vso[task.setvariable variable=NASM_PREFIX;]C:\Program Files\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












^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms
  2021-10-08  9:44   ` duntan
@ 2021-10-26  9:37     ` Ni, Ray
  0 siblings, 0 replies; 3+ messages in thread
From: Ni, Ray @ 2021-10-26  9:37 UTC (permalink / raw)
  To: Tan, Dun, devel@edk2.groups.io
  Cc: Sean Brogan, Bret Barkelew, Kinney, Michael D, Liming Gao

Acked-by: Ray Ni <ray.ni@intel.com>

Sean, Bret, Mike, Liming, any comments?

> -----Original Message-----
> From: Tan, Dun <dun.tan@intel.com>
> Sent: Friday, October 8, 2021 5:45 PM
> To: devel@edk2.groups.io; Tan, Dun <dun.tan@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms
> 
> Hi all,
> Can you please help to review this patch? Thanks a lot.
> 
> Thanks,
> Dun
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan
> Sent: Wednesday, September 29, 2021 2:43 PM
> To: devel@edk2.groups.io; Tan, Dun <dun.tan@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
> Subject: Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms
> 
> Hi all,
> 
> Since I don't have the administrator access of Tiano edk2 CI, I can't create a new pipeline based on my .yml file to test my script.
> So I have to copy the content in edk2-platforms.yml to Windows-VS2019.yml and  change file in the included path in .yml file to
> trigger the PR CI and verify whether the edk2platforms CI test can pass. Here is the PR link and the azure pipeline CI link.
> https://github.com/tianocore/edk2/pull/2027
> https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=30289&view=results
> 
> Thanks,
> Dun
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan
> Sent: Wednesday, September 29, 2021 2:38 PM
> To: devel@edk2.groups.io
> Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
> Subject: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms
> 
> 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.
> 
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Ray Ni <ray.ni@intel.com>
> 
> Signed-off-by: Dun Tan <dun.tan@intel.com>
> ---
>  .azurepipelines/edk2-platforms.yml          | 71
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  .azurepipelines/edk2platforms-run-steps.yml | 72
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 143 insertions(+)
> 
> diff --git a/.azurepipelines/edk2-platforms.yml b/.azurepipelines/edk2-platforms.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.<BR> # 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/.azurepipelines/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.<BR> # 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=PATH;]$PATH"
> +    displayName: Set env Path
> +    workingDirectory: edk2/
> +
> +- ${{ if contains(parameters.pool_name, 'windows') }}:
> +  - powershell: |
> +      choco install iasl -y --version=2017.11.10
> +      echo "##vso[task.setvariable variable=IASL_PREFIX;]C:\tools\ASL\"
> +      choco install nasm -y
> +      echo "##vso[task.setvariable variable=NASM_PREFIX;]C:\Program Files\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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-26  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <16A937B5BF644F83.16095@groups.io>
2021-09-29  6:42 ` [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms duntan
     [not found] ` <16A937DEEE351F87.16095@groups.io>
2021-10-08  9:44   ` duntan
2021-10-26  9:37     ` Ni, Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox