]> git.proxmox.com Git - mirror_edk2.git/blame - .azurepipelines/Ubuntu-PatchCheck.yml
NetworkPkg/Dhcp4Dxe: Fix various typos
[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
8# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
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
19\r
20pool:\r
21 vmImage: 'ubuntu-latest'\r
22\r
23steps:\r
24- checkout: self\r
25 clean: true\r
26\r
27- task: UsePythonVersion@0\r
28 inputs:\r
29 versionSpec: '3.7.x'\r
30 architecture: 'x64'\r
31\r
32- script: |\r
33 git fetch origin $(System.PullRequest.TargetBranch):$(System.PullRequest.TargetBranch)\r
34 python BaseTools/Scripts/PatchCheck.py $(System.PullRequest.TargetBranch)..$(System.PullRequest.SourceCommitId)\r
35 displayName: 'Use PatchCheck.py to verify patch series in pull request'\r