mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
coin: run yocto-check-layer as part of CI
Use yocto-check-layer to verify compatibility to Yocto project. Task-number: QTBUG-138741 Change-Id: I4189f8c5053665919e852eadd7fc515b5568256d Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
919787f8ed
commit
f9334e6ae4
|
|
@ -145,16 +145,28 @@ instructions:
|
||||||
./repo sync
|
./repo sync
|
||||||
|
|
||||||
source ./poky/oe-init-build-env
|
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
|
||||||
|
yocto-check-layer ${SOURCE_DIR} \
|
||||||
|
--dependency \
|
||||||
|
../meta-openembedded/meta-oe \
|
||||||
|
../meta-openembedded/meta-python \
|
||||||
|
--additional-layer \
|
||||||
|
../meta-mingw \
|
||||||
|
--no-auto-dependency
|
||||||
|
fi
|
||||||
|
|
||||||
bitbake-layers add-layer ../meta-openembedded/meta-oe
|
bitbake-layers add-layer ../meta-openembedded/meta-oe
|
||||||
bitbake-layers add-layer ../meta-openembedded/meta-python
|
bitbake-layers add-layer ../meta-openembedded/meta-python
|
||||||
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
|
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
|
||||||
bitbake-layers add-layer ../meta-mingw
|
bitbake-layers add-layer ../meta-mingw
|
||||||
bitbake-layers add-layer ${SOURCE_DIR}
|
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
|
# build toolchain which should include all supported recipes
|
||||||
bitbake meta-toolchain-qt6 nativesdk-packagegroup-qt6-toolchain-host packagegroup-qt6-modules
|
bitbake meta-toolchain-qt6 nativesdk-packagegroup-qt6-toolchain-host packagegroup-qt6-modules
|
||||||
filename: "{{.BuildDir}}/start-build"
|
filename: "{{.BuildDir}}/start-build"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user