Skip to content

Commit

Permalink
CI YAML Base Changes
Browse files Browse the repository at this point in the history
Settings used for currently available plugins and settings. Some
config for plugins not yet added to the branch is not included
from the CI YAML files in the previous Mu release branch.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Jun 19, 2024
1 parent 8a6ff2b commit 473132d
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 12 deletions.
51 changes: 51 additions & 0 deletions BaseTools/BaseTools.ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## @file
# CI configuration for BaseTools
#
# Copyright (c) Microsoft Corporation
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined .pytool/Plugin/LicenseCheck
"LicenseCheck": {
"skip": True,
"IgnoreFiles": []
},
"EccCheck": {
"skip": True,
},
## options defined .pytool/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
"*.c", "*.asm", "*.h", "*.nasm", "*.s", "*.asl", "*.inf"
],
# use gitignore syntax to ignore errors in matching files
"IgnoreFiles": [
"Source/C/BrotliCompress",
],
# words to extend to the dictionary for this package
"ExtendWords": [],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
},

## options defined .pytool/Plugin/MarkdownLintCheck
"MarkdownLintCheck": {
# package root relative file, folder, or glob pattern to ignore
"IgnoreFiles": [
"Source/C/BrotliCompress/brotli",
"BaseToolsBuild" # MU_CHANGE - Ignore build logs.
]
},

# MU_CHANGE [BEGIN]
## options defined .pytool/Plugin/UncrustifyCheck
"UncrustifyCheck": {
"AuditOnly": True,
"IgnoreFiles": ["*"],
},
"LineEndingCheck": {
"IgnoreFiles": ["*"],
}
# MU_CHANGE [END]
}
22 changes: 12 additions & 10 deletions MdeModulePkg/MdeModulePkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@
"Universal/RegularExpressionDxe"
]
},
## options defined ci/Plugin/CompilerPlugin
## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "MdeModulePkg.dsc"
},
## options defined ci/Plugin/HostUnitTestCompilerPlugin
## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
"HostUnitTestCompilerPlugin": {
"DscPath": "Test/MdeModulePkgHostTest.dsc"
},

## options defined ci/Plugin/CharEncodingCheck
## options defined .pytool/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": [
"MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",
"MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"
]
},

## options defined ci/Plugin/DependencyCheck
## options defined .pytool/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
Expand All @@ -60,22 +60,24 @@
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
],
# For UEFI shell based apps
"AcceptableDependencies-UEFI_APPLICATION":[],
"AcceptableDependencies-UEFI_APPLICATION":[
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" # MU_CHANGE
],
"IgnoreInf": []
},

## options defined ci/Plugin/DscCompleteCheck
## options defined .pytool/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "MdeModulePkg.dsc"
},
## options defined ci/Plugin/HostUnitTestDscCompleteCheck
## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": [""],
"DscPath": "Test/MdeModulePkgHostTest.dsc"
},

## options defined ci/Plugin/GuidCheck
## options defined .pytool/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
Expand All @@ -87,12 +89,12 @@
]
},

## options defined ci/Plugin/LibraryClassCheck
## options defined .pytool/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreHeaderFile": []
},

## options defined ci/Plugin/SpellCheck
## options defined .pytool/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
Expand Down
4 changes: 3 additions & 1 deletion MdePkg/MdePkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
],
# For UEFI shell based apps
"AcceptableDependencies-UEFI_APPLICATION":[],
"AcceptableDependencies-UEFI_APPLICATION":[
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" # TCBZ3519 MU_CHANGE
],
"IgnoreInf": []
},

Expand Down
5 changes: 5 additions & 0 deletions NetworkPkg/NetworkPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
# MU_CHANGE begin
"PrEval": {
"DscPath": "NetworkPkg.dsc",
},
# MU_CHANGE end
"LicenseCheck": {
"IgnoreFiles": []
},
Expand Down
6 changes: 6 additions & 0 deletions PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
# MU_CHANGE begin
"PrEval": {
"DscPath": "PcAtChipsetPkg.dsc",
},
# MU_CHANGE end
## options defined .pytool/Plugin/LicenseCheck
"LicenseCheck": {
"IgnoreFiles": []
Expand All @@ -30,6 +35,7 @@
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec", ## // MU_CHANGE
"PcAtChipsetPkg/PcAtChipsetPkg.dec",
"UefiCpuPkg/UefiCpuPkg.dec"
],
Expand Down
5 changes: 5 additions & 0 deletions ShellPkg/ShellPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
# MU_CHANGE begin
"PrEval": {
"DscPath": "ShellPkg.dsc",
},
# MU_CHANGE end
"LicenseCheck": {
"IgnoreFiles": []
},
Expand Down
6 changes: 6 additions & 0 deletions StandaloneMmPkg/StandaloneMmPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
# MU_CHANGE begin
"PrEval": {
"DscPath": "StandaloneMmPkg.dsc",
},
# MU_CHANGE end
"EccCheck": {
## Exception sample looks like below:
## "ExceptionList": [
Expand Down Expand Up @@ -82,6 +87,7 @@
# in matching files
"ExtendWords": [
"Bsymbolic",
"dlink",
"FwVol",
"mpidr",
"mstrict",
Expand Down
5 changes: 5 additions & 0 deletions UefiCpuPkg/UefiCpuPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
# MU_CHANGE begin
"PrEval": {
"DscPath": "UefiCpuPkg.dsc",
},
# MU_CHANGE end
"LicenseCheck": {
"IgnoreFiles": []
},
Expand Down
6 changes: 5 additions & 1 deletion UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
"fexceptions", # build flag for gtest
"corthon", # Contact GitHub account in Readme
"mdkinney", # Contact GitHub account in Readme
"spbrogan" # Contact GitHub account in Readme
"spbrogan", # Contact GitHub account in Readme
"cobertura", # tool for code coverage
"pycobertura", # tool for code coverage
"loongarch",
"loongson"
],
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
Expand Down

0 comments on commit 473132d

Please sign in to comment.