]> git.proxmox.com Git - mirror_edk2.git/blob - .azurepipelines/Ubuntu-PatchCheck.yml
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 - 2020, 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 - stable/*
20
21 pool:
22 vmImage: 'ubuntu-latest'
23
24 steps:
25 - checkout: self
26 clean: true
27
28 - task: UsePythonVersion@0
29 inputs:
30 versionSpec: '>=3.10.6'
31 architecture: 'x64'
32
33 - script: |
34 git fetch origin $(System.PullRequest.TargetBranch):$(System.PullRequest.TargetBranch)
35 python BaseTools/Scripts/PatchCheck.py $(System.PullRequest.TargetBranch)..$(System.PullRequest.SourceCommitId)
36 displayName: 'Use PatchCheck.py to verify patch series in pull request'