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