diff options
Diffstat (limited to 'meta-arm/ci')
| -rw-r--r-- | meta-arm/ci/base.yml | 2 | ||||
| -rw-r--r-- | meta-arm/ci/clang.yml | 9 | ||||
| -rw-r--r-- | meta-arm/ci/edk2.yml | 2 | ||||
| -rw-r--r-- | meta-arm/ci/fvp-base.yml | 2 | ||||
| -rw-r--r-- | meta-arm/ci/fvp.yml | 5 | ||||
| -rwxr-xr-x | meta-arm/ci/get-binary-toolchains | 2 | ||||
| -rwxr-xr-x | meta-arm/ci/junit.sh | 15 | ||||
| -rw-r--r-- | meta-arm/ci/poky-altcfg.yml | 4 | ||||
| -rw-r--r-- | meta-arm/ci/qemuarm64-secureboot-ts.yml | 5 | ||||
| -rw-r--r-- | meta-arm/ci/secure-debug.yml | 8 | ||||
| -rw-r--r-- | meta-arm/ci/uefi-secureboot.yml | 37 |
11 files changed, 70 insertions, 21 deletions
diff --git a/meta-arm/ci/base.yml b/meta-arm/ci/base.yml index d1c933d027..7b550dbfa2 100644 --- a/meta-arm/ci/base.yml +++ b/meta-arm/ci/base.yml @@ -7,7 +7,7 @@ distro: poky defaults: repos: - branch: master + branch: styhead repos: meta-arm: diff --git a/meta-arm/ci/clang.yml b/meta-arm/ci/clang.yml index 9b2d194a3a..402292a6b8 100644 --- a/meta-arm/ci/clang.yml +++ b/meta-arm/ci/clang.yml @@ -10,12 +10,3 @@ repos: local_conf_header: toolchain: | TOOLCHAIN = "clang" - PREFERRED_PROVIDER_llvm = "clang" - PREFERRED_PROVIDER_llvm-native = "clang-native" - PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang" - PROVIDES:pn-clang = "llvm" - PROVIDES:pn-clang-native = "llvm-native" - PROVIDES:pn-nativesdk-clang = "nativesdk-llvm" - # This is needed to stop bitbake getting confused about what clang/llvm is - # being used, see https://github.com/kraj/meta-clang/pull/766 - BBMASK += "/meta/recipes-devtools/llvm/llvm.*\.bb" diff --git a/meta-arm/ci/edk2.yml b/meta-arm/ci/edk2.yml index d32e3645cd..cf2f5851b8 100644 --- a/meta-arm/ci/edk2.yml +++ b/meta-arm/ci/edk2.yml @@ -15,5 +15,3 @@ local_conf_header: QB_DEFAULT_BIOS = "QEMU_EFI.fd" WKS_FILE ?= "efi-disk.wks.in" - failing_tests: | - TEST_SUITES:remove = "xorg" diff --git a/meta-arm/ci/fvp-base.yml b/meta-arm/ci/fvp-base.yml index bbc6c44db3..5719ea8066 100644 --- a/meta-arm/ci/fvp-base.yml +++ b/meta-arm/ci/fvp-base.yml @@ -9,5 +9,5 @@ header: machine: fvp-base target: - - core-image-sato + - core-image-full-cmdline - boot-wrapper-aarch64 diff --git a/meta-arm/ci/fvp.yml b/meta-arm/ci/fvp.yml index 2bf1cef024..667bb64109 100644 --- a/meta-arm/ci/fvp.yml +++ b/meta-arm/ci/fvp.yml @@ -7,8 +7,3 @@ local_conf_header: testimagefvp: | LICENSE_FLAGS_ACCEPTED += "Arm-FVP-EULA" IMAGE_CLASSES += "fvpboot" - failing_tests: | - # This fails but we can't add to the ignorelist from meta-arm yet - # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14604 - TEST_SUITES:remove = "parselogs" - TEST_SUITES:remove = "xorg" diff --git a/meta-arm/ci/get-binary-toolchains b/meta-arm/ci/get-binary-toolchains index 429cd1c5c0..793c689040 100755 --- a/meta-arm/ci/get-binary-toolchains +++ b/meta-arm/ci/get-binary-toolchains @@ -2,7 +2,7 @@ set -u -e BASENAME=arm-gnu-toolchain -VER=${VER:-13.2.Rel1} +VER=${VER:-13.3.rel1} HOST_ARCH=${HOST_ARCH:-$(uname -m)} # Use the standard kas container locations if nothing is passed into the script diff --git a/meta-arm/ci/junit.sh b/meta-arm/ci/junit.sh new file mode 100755 index 0000000000..6262c34b11 --- /dev/null +++ b/meta-arm/ci/junit.sh @@ -0,0 +1,15 @@ +#! /bin/bash + +# $ ci/junit.sh <build directory> +# +# If there is a OEQA test report in JSON format present in the build directory, +# transform it to JUnit XML using resulttool. + +set -e -u + +BUILDDIR=$1 +JSON=$BUILDDIR/tmp/log/oeqa/testresults.json + +if test -f $JSON; then + resulttool junit $JSON +fi diff --git a/meta-arm/ci/poky-altcfg.yml b/meta-arm/ci/poky-altcfg.yml new file mode 100644 index 0000000000..86711d4d23 --- /dev/null +++ b/meta-arm/ci/poky-altcfg.yml @@ -0,0 +1,4 @@ +header: + version: 14 + +distro: poky-altcfg diff --git a/meta-arm/ci/qemuarm64-secureboot-ts.yml b/meta-arm/ci/qemuarm64-secureboot-ts.yml index adf1f2f840..87f0fa9ed8 100644 --- a/meta-arm/ci/qemuarm64-secureboot-ts.yml +++ b/meta-arm/ci/qemuarm64-secureboot-ts.yml @@ -8,8 +8,9 @@ header: local_conf_header: trusted_services: | TEST_SUITES:append = " trusted_services" - # Include TS Crypto, TS Protected Storage, TS Internal Trusted Storage and SMM-Gateway SPs into optee-os image - MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its ts-smm-gateway" + # Include TS Crypto, TS Protected Storage, and TS Internal Trusted Storage and SPs into optee-os image + # FIXME - remove TS SMM Gateway due to QEMU v9.0.0 test failures + MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its" # Include TS demo/test tools into image IMAGE_INSTALL:append = " packagegroup-ts-tests" # Include TS PSA Arch tests into image diff --git a/meta-arm/ci/secure-debug.yml b/meta-arm/ci/secure-debug.yml new file mode 100644 index 0000000000..33cf00a3c2 --- /dev/null +++ b/meta-arm/ci/secure-debug.yml @@ -0,0 +1,8 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json + +header: + version: 14 + +local_conf_header: + secure-debug: | + MACHINE_FEATURES += "secure-debug" diff --git a/meta-arm/ci/uefi-secureboot.yml b/meta-arm/ci/uefi-secureboot.yml new file mode 100644 index 0000000000..f647f4b1f6 --- /dev/null +++ b/meta-arm/ci/uefi-secureboot.yml @@ -0,0 +1,37 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json + +# UEFI Secure Boot: A mechanism to ensure that only trusted software is executed +# during the boot process. + +header: + version: 14 + includes: + - ci/meta-openembedded.yml + - ci/meta-secure-core.yml + +local_conf_header: + uefi_secureboot: | + SBSIGN_KEYS_DIR = "${TOPDIR}/sbkeys" + BB_ENV_PASSTHROUGH_ADDITIONS = "SBSIGN_KEYS_DIR" + + # Detected by passing kernel parameter + QB_KERNEL_ROOT = "" + + # kernel is in the image, should not be loaded separately + QB_DEFAULT_KERNEL = "none" + + WKS_FILE = "efi-disk.wks.in" + KERNEL_IMAGETYPE = "Image" + + MACHINE_FEATURES:append = " efi uefi-secureboot" + + EFI_PROVIDER = "systemd-boot" + + # Use systemd as the init system + INIT_MANAGER = "systemd" + DISTRO_FEATURES:append = " systemd" + DISTRO_FEATURES_NATIVE:append = " systemd" + + IMAGE_INSTALL:append = " systemd systemd-boot util-linux coreutils" + + TEST_SUITES:append = " uefi_secureboot"
\ No newline at end of file |
