Michael Kubacki
a3e8efcc8e
.pytool/CISettings: Enable CodeQL audit mode
...
Since a large number of CodeQL queries are being enabled to identify
issues that the community can collectively resolve, audit mode needs to
be enabled to prevent the build from failing.
In the future, this global audit mode can be disabled and individual
packages can enable/disable audit mode in their package CI YAML file
using the instructions in the CodeQL plugin readme.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
Acked-by: Michael D Kinney <michael.d.kinney@intel.com >
2023-11-07 03:19:26 +00:00
Michael Kubacki
29763016e0
.pytool/CISettings.py: Integrate CodeQL
...
Adds the `--codeql` parameter to `stuart_update` and
`stuart_ci_build`.
- `stuart_update --codeql` - Downloads the CodeQL CLI locally. The
command will pull the appropriate binary for the host OS.
- `stuart_ci_build --codeql` - Runs CodeQL during the build resulting
in a CodeQL database and SARIF result file in the `Build`
directory.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
Acked-by: Michael D Kinney <michael.d.kinney@intel.com >
2023-11-07 03:19:26 +00:00
Wenxing Hou
26754b3707
CryptoPkg: Add Mbedtls submodule in CI
...
Change CI for new Mbedtls submodule.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4177
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yi Li <yi1.li@intel.com >
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com >
Cc: Guomin Jiang <guomin.jiang@intel.com >
Signed-off-by: Wenxing Hou <wenxing.hou@intel.com >
Reviewed-by: Yi Li <yi1.li@intel.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2023-10-12 05:31:19 +00:00
Gua Guo
782948c1a7
MdePkg: Add mipisyst submodule
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144
This Library provides functions consuming MIPI SYS-T submodule.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Guo Gua <gua.guo@intel.com >
Cc: Chan Laura <laura.chan@intel.com >
Cc: Prakashan Krishnadas Veliyathuparambil <krishnadas.veliyathuparambil.prakashan@intel.com >
Cc: K N Karthik <karthik.k.n@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Zhiguang Liu <zhiguang.liu@intel.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Michael Kubacki <mikuback@linux.microsoft.com >
Signed-off-by: Guo Gua <gua.guo@intel.com >
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com >
Acked-by: Liming Gao <gaoliming@byosoft.com.cn >
2023-05-11 07:26:38 +00:00
Benny Lin
ff7cb2d7c9
.pytool: Support FDT library.
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4392
Add FDT support in EDK2 by submodule 3rd party libfdt
(https://github.com/devicetree-org/pylibfdt/tree/main/libfdt )
Add RequiredSubmodule object for CI setting.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Michael Kubacki <mikuback@linux.microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Benny Lin <benny.lin@intel.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2023-05-05 03:45:21 +00:00
Chris Johnson
caa389625f
.pytool/CISettings.py: Add subhook submodule
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4389
Add submodule for https://github.com/Zeex/subhook
This submodule is required to hook internal functions
when using gmock.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Michael Kubacki <mikuback@linux.microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Chris Johnson <chris.n.johnson@intel.com >
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com >
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Oliver Smith-Denny <osde@linux.microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2023-04-10 05:59:02 +00:00
Oliver Steffen
5d25638e1b
.pytool: CISettings.py: don't add scopes for GCC
...
All ext_dep.yml files for gcc have been removed and gcc is expected to
be installed on the system (GCC5_*_PREFIX may indicate the location).
No need to adjust the toolchain scopes for Linux builds anymore.
Signed-off-by: Oliver Steffen <osteffen@redhat.com >
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
Acked-by: Gerd Hoffmann <kraxel@redhat.com >
Reviewed-by: Chris Fernald <chfernal@microsoft.com >
2023-01-17 19:06:32 +00:00
Michael D Kinney
80f097711b
.pytool: Add googletest submodule to CISettings.py
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4134
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Michael Kubacki <mikuback@linux.microsoft.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com >
2022-11-11 05:46:51 +00:00
Chao Li
b1b5177a0c
.pytool: Add LoongArch64 architecture on LoongArch64 EDK2 CI.
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053
Add LoongArch64 architecture on LoongArch64 EDK2 CI testing.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Chao Li <lichao@loongson.cn >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2022-10-14 02:16:33 +00:00
Michael Kubacki
cf01fdd5d7
SourceLevelDebugPkg: Add package CI YAML file
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4091
Adds the package as a supported package to .pytool/CISettings.py
and adds a CI YAML for the package so it can be run in CI.
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2022-10-06 02:09:28 +00:00
Michael Kubacki
b3d379d188
SignedCapsulePkg: Add package CI YAML file
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4050
Adds the package as a supported package to .pytool/CISettings.py
and adds a CI YAML for the package so it can be run in CI.
Cc: Jian J Wang <jian.j.wang@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2022-10-04 17:49:56 +00:00
Michael Kubacki
9ecab62d40
IntelFsp2WrapperPkg: Add CI YAML file
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4048
Adds IntelFsp2WrapperPkg to the list of supported build packages
for edk2 CI and defines an initial set of CI configuration options.
Adds a special case for the Library Class check CI plugin to ignore
FspWrapperPlatformMultiPhaseLib with an explanatory comment.
Cc: Chasel Chiu <chasel.chiu@intel.com >
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney>
2022-10-04 16:53:59 +00:00
Michael Kubacki
28b16c01cf
IntelFsp2Pkg: Add CI YAML file
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4048
Adds IntelFsp2Pkg to the list of supported build packages for edk2
CI and defines an initial set of CI configuration options.
Cc: Chasel Chiu <chasel.chiu@intel.com >
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney>
2022-10-04 16:53:59 +00:00
Michael Kubacki
43c1111530
EmbeddedPkg: Add CI YAML file
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4046
Adds EmbeddedPkg to the list of supported build packages for edk2
CI and fixes Library Class Check errors reported.
These changes allow EmbeddedPkg to pass NO-TARGET CI testing.
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Daniel Schaefer <git@danielschaefer.me >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
2022-10-03 18:22:03 +00:00
Michael Kubacki
f3c11224b5
PrmPkg: Changes for edk2 repo transition
...
Updates the Readme.md files to remove information that was specific
to the package in edk2-staging and adds key definitions being added
for PRM support in the ACPI Specification.
Adds PrmPkg/PrmPkg.ci.yaml to support CI.
Adds PrmPkg to .pytool/CISettings.py.
Adds PrmPkg maintainers to Maintainers.txt.
Cc: Andrew Fish <afish@apple.com >
Cc: Kang Gao <kang.gao@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Benjamin You <benjamin.you@intel.com >
Cc: Liu Yun <yun.y.liu@intel.com >
Cc: Ankit Sinha <ankit.sinha@intel.com >
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Acked-by: Michael D Kinney <michael.d.kinney@intel.com >
Acked-by: Liming Gao <gaoliming@byosoft.com.cn >
Acked-by: Leif Lindholm <quic_llindhol@quicinc.com >
Reviewed-by: Ankit Sinha <ankit.sinha@intel.com >
2022-04-05 00:42:38 +00:00
duntan
e3ee8c8dbd
.azurepipelines: Add UefiPayloadPkg in gate-build-job.yml and CISetting.py
...
Add UefiPayloadPkg in gate-build-job.yml to enable Core ci for UefiPayloadPkg.
Add UefiPayloadPkg to supported Packages in CISettings.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: DunTan <dun.tan@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-09-02 01:46:30 +00:00
Pierre Gondois
a4cf19597f
.pytool: Enable CI for ArmPlatformPkg
...
Enable the CI for the ArmPlatformPkg.
Cc: Bret Barkelew <bret.barkelew@microsoft.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com >
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
2021-04-28 12:03:51 +00:00
Pierre Gondois
2942cb5815
.pytool: Enable CI for ArmPkg
...
Enable the CI for the ArmPkg.
Cc: Bret Barkelew <bret.barkelew@microsoft.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com >
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
2021-04-28 12:03:51 +00:00
Matthew Carlson
1534b6228b
BaseTools: Use pip module if available, CI uses it by default
...
Use the new edk2-basetools pip module.
Includes a helpful message in setup to let users know which has been
selected.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Yuwei Chen <yuwei.chen@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com >
Reviewed-by: Yuwei <Chen<yuwei.chen@intel.com >
Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com >
2021-02-09 03:56:37 +00:00
Abner Chang
acabf1b033
.pytool: Add required submodule for JsonLib
...
Open source project jansson is leveraged by edk2 JsonLib.
Add jansson to the required submodule in CiSettings.py.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Cc: Peter O'Hanley <peter.ohanley@hpe.com >
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2021-01-09 03:08:51 +00:00
Sami Mujawar
d8d1f6661d
.pytool: CI Settings to support StandaloneMmPkg
...
Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3150 )
Update pytools configuration to enable StandaloneMmPkg
and update package status in documentation.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-01-07 11:13:39 +00:00
Abner Chang
c4add64fd4
.pytool: Add CI on RedfishPkg
...
Add RedfishPkg to CI test.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Nickle Wang <nickle.wang@hpe.com >
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
2020-10-15 02:19:47 +00:00
Sami Mujawar
82c65f14d4
.pytool: CI Settings to support DynamicTablesPkg
...
Update pytools configuration to enable DynamicTablesPkg
and update package status in documentation.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com >
Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com >
2020-08-19 09:17:26 +00:00
Sean Brogan
f4f9c4cb63
.pytool/CISettings: Remove Windows only scope for host based unit tests
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2513
Remove Windows only scopes in the CISettngs file
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Sean Brogan <sean.brogan@microsoft.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-05-08 05:54:46 +00:00
Abner Chang
e6956d0052
.pytool: Add RISC-V architecture on RISC-V EDK2 CI.
...
BZ:2562:
https://bugzilla.tianocore.org/show_bug.cgi?id=2562
Add RISC-V architecture on RISC-V EDK2 CI testing.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Gilbert Chen <gilbert.chen@hpe.com >
Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com >
2020-05-07 03:17:15 +00:00
Sean Brogan
0358c0bfc1
.pytool: Update CI Settings to support Emulator, ArmVirt, and Ovmf packages
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2570
Update pytools configuration to enable EmulatorPkg, ArmVirtPkg,
and OvmfPkg.
Update documentation for the status of those packages.
Remove future work items that are now complete.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com >
2020-04-28 18:07:59 +00:00
Shenglei Zhang
06033f5aba
BaseTools: Make brotli a submodule
...
Use submodule way to access brotli in BaseTools based on
brotli version 666c3280cc11dc433c303d79a83d4ffbdd12cc8d.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2558
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-04-16 01:58:38 +00:00
Shenglei Zhang
58802e02c4
MdeModulePkg/BrotliCustomDecompressLib: Make brotli a submodule
...
Use submodule way to access brotli in MdeModulePkg based on
brotli version 666c3280cc11dc433c303d79a83d4ffbdd12cc8d.
The newly added BrotliDecUefiSupport.h/.c are used by directory
'brotli'.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2559
Cc: Liming Gao <liming.gao@intel.com >
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-04-16 01:58:38 +00:00
Shenglei Zhang
48b6c60cc6
MdeModulePkg/RegularExpressionDxe: Make oniguruma a submodule in edk2.
...
Use submodule way to access oniguruma. And upgrade oniguruma
version from v6.9.3 to v6.9.4_mark1.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2073
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-04-13 01:26:12 +00:00
Michael D Kinney
61364ab927
.pytool: Add CI support for host based unit tests with results
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2505
* Add plugin to build and run host based unit tests
* Add plugin that performs a DSC complete check DSC files
used to build host based tests
* Update DscCompleteCheck plugin to ignore module INFs with
a MODULE_TYPE of HOST_APPLICATION and library INFs that
only support a module type of HOST_APPLICATION.
* Fix issues in XML reports from checkers.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com >
2020-02-07 19:18:53 +00:00
Sean Brogan
4eb2baba93
.pytool: Add CISettings.py and Readme.md
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2315
Add main python script for EDK II Continuous Integration (CI)
builds along with a Readme.md that provides a summary of the
packages, platforms, and checks performs during a CI build.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2019-11-11 13:02:44 -08:00