Skip to content

Commit

Permalink
Integrate PrEval Policy 5 (#423)
Browse files Browse the repository at this point in the history
Integrates edk2-pytool-extension's PrEval's Policy 5 that runs whenever
a INF has been changed. It will parse each package's dsc (as defined in
`<pkg>.ci.yaml::PrEval.DscPath`) and mark it to be build if that package
has a dependency on the changed INF.

For each item, place an "x" in between `[` and `]` if true. Example:
`[x]`.
_(you can also check items in the GitHub UI)_

- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

N/A

N/A
  • Loading branch information
Javagedes authored and kenlautner committed Dec 18, 2023
1 parent e601efc commit c0dad8e
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 1 deletion.
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
5 changes: 5 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 Down
5 changes: 5 additions & 0 deletions PolicyServicePkg/PolicyServicePkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
##

{
# MU_CHANGE begin
"PrEval": {
"DscPath": "PolicyServicePkg.dsc",
},
# MU_CHANGE begin
"LicenseCheck": {
"IgnoreFiles": []
},
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
5 changes: 5 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
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
2 changes: 1 addition & 1 deletion pip-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
edk2-pytool-library==0.19.3
edk2-pytool-extensions~=0.25.1
edk2-basetools==0.1.48
antlr4-python3-runtime==4.7.1
antlr4-python3-runtime==4.13.0
lcov-cobertura==2.0.2
regex==2023.8.8

0 comments on commit c0dad8e

Please sign in to comment.