microsoft / mu_feature_config

Project Mu - Feature Repo - UEFI User Config and Management Support
https://microsoft.github.io/mu/
Other
21 stars 28 forks source link

Add Multiple Config Environment Build Support #374

Closed os-d closed 5 months ago

os-d commented 5 months ago

Description

This updates the UpdateConfigHdr.py plugin to be able to generate multiple config headers from multiple XML files to support the use case where one PlatformBuild.py file is producing multiple config environments, such as non-secure world and StMM. This is backwards compatible with platforms that only build a single config environment.

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

How This Was Tested

Tested on a platform with multiple config environments and with a single.

Integration Instructions

See docs in this PR.

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.92%. Comparing base (11f63c3) to head (9d36c4a).

:exclamation: Current head 9d36c4a differs from pull request most recent head 6017244

Please upload reports for the commit 6017244 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #374 +/- ## ======================================= Coverage 35.92% 35.92% ======================================= Files 31 31 Lines 6319 6319 Branches 669 669 ======================================= Hits 2270 2270 Misses 4043 4043 Partials 6 6 ``` | [Flag](https://app.codecov.io/gh/microsoft/mu_feature_config/pull/374/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [Linux](https://app.codecov.io/gh/microsoft/mu_feature_config/pull/374/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `27.24% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.