[3/3] CI: add testing for edk2

Message ID 20220422151326.23359-3-jon.mason@arm.com
State New
Headers show
Series [1/3] arm-bsp/juno: use virtual/bootloader for u-boot/edk2 | expand

Commit Message

Jon Mason April 22, 2022, 3:13 p.m. UTC
For platforms that can do both u-boot and edk2, add a yml to switch from
u-boot to edk2.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml | 1 +
 ci/edk2.yml    | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 ci/edk2.yml

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bd1ae59..276cb26 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -129,6 +129,7 @@  juno:
   parallel:
     matrix:
       - TOOLCHAINS: [gcc, clang]
+        FIRMWARE: [none, edk2]
 
 microbit-v1:
   extends: .build_and_test
diff --git a/ci/edk2.yml b/ci/edk2.yml
new file mode 100644
index 0000000..77eaee8
--- /dev/null
+++ b/ci/edk2.yml
@@ -0,0 +1,9 @@ 
+header:
+  version: 11
+
+local_conf_header:
+  bootfirmware: |
+    PREFERRED_PROVIDER_virtual/bootloader = "edk2-firmware"
+    MACHINE_FEATURES += "efi"
+    TFA_UBOOT = "0"
+    TFA_UEFI = "1"