mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-02 01:20:09 +00:00
CI: Add zephyr testimage
Add the ability to run testimage against zephyr machines. Unfortunately, this exposes a bug in meta-zephyr with TESTIMAGE_AUTO not working correctly. So, work around this until it can be fixed upstream. Also, qemu-cortex-a53 does not successfully pass any of the tests it successfully builds. So, don't run testimage until that can be addressed. Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
+16
-2
@@ -37,6 +37,17 @@ stages:
|
||||
- kas build $KASFILES
|
||||
- ./ci/check-warnings $KAS_WORK_DIR/build/warnings.log
|
||||
|
||||
# Workaround for Zephyr not currectly handling TESTIMAGE_AUTO
|
||||
.build_and_test:
|
||||
extends: .setup
|
||||
script:
|
||||
- KASFILES=$(./ci/jobs-to-kas $CI_JOB_NAME)
|
||||
- kas shell --update --force-checkout $KASFILES -c 'cat conf/*.conf'
|
||||
- kas build $KASFILES
|
||||
- kas build $KASFILES -c testimage
|
||||
- ./ci/check-warnings $KAS_WORK_DIR/build/warnings.log
|
||||
|
||||
|
||||
#
|
||||
# Prep stage, update repositories once
|
||||
#
|
||||
@@ -130,8 +141,8 @@ juno:
|
||||
juno/clang:
|
||||
extends: .build
|
||||
|
||||
microbit-v1:
|
||||
extends: .build
|
||||
microbit-v1/testimage-zephyr:
|
||||
extends: .build_and_test
|
||||
|
||||
musca-b1:
|
||||
extends: .build
|
||||
@@ -148,6 +159,9 @@ n1sdp/armgcc:
|
||||
qemu-cortex-a53:
|
||||
extends: .build
|
||||
|
||||
qemu-cortex-m3/testimage-zephyr:
|
||||
extends: .build_and_test
|
||||
|
||||
qemu-cortex-r5:
|
||||
extends: .build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user