coin: run yocto compatibility check only once

Use only one target to run the yocto-check-layer test and
run it without test configs.

Change-Id: I64b28122696e485539d06c944313f02714d8c29f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
This commit is contained in:
Samuli Piippo 2025-11-11 13:53:08 +00:00
parent be5c3c77e5
commit 05afb49818

View File

@ -37,6 +37,9 @@ target1: &target1
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland opengl
- type: EnvironmentVariable
variableName: CHECK_COMPATIBILITY
variableValue: 1
enable_if:
condition: property
property: target.arch
@ -165,12 +168,8 @@ instructions:
source ./poky/oe-init-build-env
for conf in ${TEST_CONFIGS}; do
echo "require ${SOURCE_DIR}/coin/test-${conf}.inc" >> conf/local.conf
done
# check compatibility agaist current Yocto master
if [ ${MANIFEST} == "master.xml" ]; then
if [ -n "${CHECK_COMPATIBILITY}" ]; then
yocto-check-layer ${SOURCE_DIR} \
--dependency \
../meta-openembedded/meta-oe \
@ -186,6 +185,10 @@ instructions:
bitbake-layers add-layer ../meta-mingw
bitbake-layers add-layer ${SOURCE_DIR}
for conf in ${TEST_CONFIGS}; do
echo "require ${SOURCE_DIR}/coin/test-${conf}.inc" >> conf/local.conf
done
# build toolchain which should include all supported recipes
bitbake meta-toolchain-qt6 \
nativesdk-packagegroup-qt6-toolchain-host \