Reviewed-by: Bret Barkelew - Bret ________________________________ From: michael.kubacki@outlook.com Sent: Monday, April 20, 2020 12:12:10 PM To: devel@edk2.groups.io Cc: Andrew Fish ; Ard Biesheuvel ; Bret Barkelew ; Jordan Justen ; Laszlo Ersek ; Leif Lindholm ; Liming Gao ; Kinney, Michael D ; Ray Ni ; Sean Brogan Subject: [EXTERNAL] [PATCH v2 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg From: Michael Kubacki The following 6 patches adds support for "Platform CI" for ArmVirtPkg, OvmfPkg, and EmulatorPkg. Each readme has live status and links to the builds as well as details of how to build and run the same way the CI server will. ArmVirtPkg: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspbrogan%2Fedk2%2Fblob%2FPlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v9%2FArmVirtPkg%2FReadMe.rst&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cb385548db8bb448b7c0608d7e55ecd34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637230067645466828&sdata=IhxGbPWZmhb3vP1LZw%2FGVHgQ8Zjwxw3zzV%2FUZnAZFP8%3D&reserved=0 EmulatorPkg: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspbrogan%2Fedk2%2Fblob%2FPlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v9%2FEmulatorPkg%2FREADME.rst&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cb385548db8bb448b7c0608d7e55ecd34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637230067645466828&sdata=%2FdcY%2FtX0G2C%2BUeDokHAWrxngsHuhGE5hqj5XCzt%2Bza0%3D&reserved=0 OvmfPkg: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspbrogan%2Fedk2%2Fblob%2FPlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v9%2FOvmfPkg%2FREADME.rst&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cb385548db8bb448b7c0608d7e55ecd34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637230067645466828&sdata=AIEXWiak44VKWKSXYzT0wIiAybnU7BNSEij7Q76LfRY%3D&reserved=0 The patch set also adds ArmVirtPkg, OvmfPkg, and EmulatorPkg to Core CI for the code evaluation tests (not compiling). Details of those tests are here: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspbrogan%2Fedk2%2Ftree%2FPlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v9%2F.pytool&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cb385548db8bb448b7c0608d7e55ecd34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637230067645466828&sdata=lmnZ8ZCGjE90eQIm0v9yQrOsb9kc7Ay4Zvh546SED3o%3D&reserved=0 Changes for V2: * PlatformBuild.py, iasl dependency, and azurepipeline files have been moved into a PlatformCI folder within the respective package. * PlatformBuild.py - RequiredSubmodules function configured to read from edk2 .gitmodules to lower required updates. * ReadMe files have been switched to reStructuredText to make Build Status table less distracting when viewing plaintext. Branch: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspbrogan%2Fedk2%2Ftree%2FPlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v9&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cb385548db8bb448b7c0608d7e55ecd34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637230067645466828&sdata=%2B4L8vVR87hszN5zOvt1LqX%2BxiUiMpsOynhbdpgq5RFo%3D&reserved=0 Please send feedback to the mailing list and do not leave feedback directly on github. On a separate note, shallow threading might not work on this patch series due to changes made by the SMTP server. Please bear with me while I am investigating if this can be changed. Cc: Andrew Fish Cc: Ard Biesheuvel Cc: Bret Barkelew Cc: Jordan Justen Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Liming Gao Cc: Michael D Kinney Cc: Ray Ni Cc: Sean Brogan Signed-off-by: Sean Brogan Signed-off-by: Michael Kubacki Sean Brogan (6): .azurepipelines: Add Platform CI template ArmVirtPkg: Add Platform CI and configuration for Core CI EmulatorPkg: Add Platform CI and configuration for Core CI OvmfPkg: Add Platform CI and configuration for Core CI .pytool: Update CI Settings to support Emulator, ArmVirt, and Ovmf packages .azurepipelines: Update Core CI build matrix to include platforms .azurepipelines/ReadMe.md | 50 ++++ .azurepipelines/templates/ReadMe.md | 59 +++++ .azurepipelines/templates/platform-build-run-steps.yml | 134 ++++++++++ .azurepipelines/templates/pr-gate-build-job.yml | 5 + .pytool/CISettings.py | 7 +- .pytool/Plugin/SpellCheck/cspell.base.yaml | 14 + .pytool/Readme.md | 10 +- ArmVirtPkg/ArmVirtPkg.ci.yaml | 103 ++++++++ ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 89 +++++++ ArmVirtPkg/PlatformCI/PlatformBuild.py | 276 ++++++++++++++++++++ ArmVirtPkg/PlatformCI/iasl_ext_dep.yaml | 21 ++ ArmVirtPkg/ReadMe.rst | 139 ++++++++++ EmulatorPkg/EmulatorPkg.ci.yaml | 85 ++++++ EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 95 +++++++ EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 85 ++++++ EmulatorPkg/PlatformCI/PlatformBuild.py | 272 +++++++++++++++++++ EmulatorPkg/README.rst | 175 +++++++++++++ OvmfPkg/OvmfPkg.ci.yaml | 83 ++++++ OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 133 ++++++++++ OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 138 ++++++++++ OvmfPkg/PlatformCI/PlatformBuild.py | 254 ++++++++++++++++++ OvmfPkg/PlatformCI/iasl_ext_dep.yaml | 21 ++ OvmfPkg/README.rst | 211 +++++++++++++++ 23 files changed, 2451 insertions(+), 8 deletions(-) create mode 100644 .azurepipelines/ReadMe.md create mode 100644 .azurepipelines/templates/ReadMe.md create mode 100644 .azurepipelines/templates/platform-build-run-steps.yml create mode 100644 ArmVirtPkg/ArmVirtPkg.ci.yaml create mode 100644 ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml create mode 100644 ArmVirtPkg/PlatformCI/PlatformBuild.py create mode 100644 ArmVirtPkg/PlatformCI/iasl_ext_dep.yaml create mode 100644 ArmVirtPkg/ReadMe.rst create mode 100644 EmulatorPkg/EmulatorPkg.ci.yaml create mode 100644 EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml create mode 100644 EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml create mode 100644 EmulatorPkg/PlatformCI/PlatformBuild.py create mode 100644 EmulatorPkg/README.rst create mode 100644 OvmfPkg/OvmfPkg.ci.yaml create mode 100644 OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml create mode 100644 OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml create mode 100644 OvmfPkg/PlatformCI/PlatformBuild.py create mode 100644 OvmfPkg/PlatformCI/iasl_ext_dep.yaml create mode 100644 OvmfPkg/README.rst -- 2.16.3.windows.1