]> git.proxmox.com Git - mirror_edk2.git/blame - .azurepipelines/Ubuntu-PatchCheck.yml
OvmfPkg: Implement MeasureHobList/MeasureFvImage
[mirror_edk2.git] / .azurepipelines / Ubuntu-PatchCheck.yml
CommitLineData
106c7a99
SB
1## @file\r
2# Azure Pipielines YML file that evalues the patch series in a PR using the\r
3# python script BaseTools/Scripts/PatchCheck.py.\r
4#\r
5# NOTE: This example monitors pull requests against the edk2-ci branch. Most\r
6# environments would replace 'edk2-ci' with 'master'.\r
7#\r
2bca7411 8# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>\r
106c7a99
SB
9# SPDX-License-Identifier: BSD-2-Clause-Patent\r
10#\r
11# https://github.com/tianocore\r
12#\r
13##\r
14\r
15trigger: none\r
16\r
17pr:\r
18- master\r
2bca7411 19- stable/*\r
106c7a99
SB
20\r
21pool:\r
22 vmImage: 'ubuntu-latest'\r
23\r
24steps:\r
25- checkout: self\r
26 clean: true\r
27\r
28- task: UsePythonVersion@0\r
29 inputs:\r
2268920a 30 versionSpec: '3.8.x'\r
106c7a99
SB
31 architecture: 'x64'\r
32\r
33- script: |\r
34 git fetch origin $(System.PullRequest.TargetBranch):$(System.PullRequest.TargetBranch)\r
35 python BaseTools/Scripts/PatchCheck.py $(System.PullRequest.TargetBranch)..$(System.PullRequest.SourceCommitId)\r
36 displayName: 'Use PatchCheck.py to verify patch series in pull request'\r