mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-12 00:49:30 +02:00
CI: Use TESTIMAGE_AUTO
Now that TESTIMAGE_AUTO is available for Zephyr builds, enable it in ci/testimage.yml and remove the redundant build_and_test base configuration. Remove testimage from Nios2 build as it is currently failing. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
85514690d1
commit
e053655480
@@ -35,17 +35,6 @@ stages:
|
||||
paths:
|
||||
- $CI_PROJECT_DIR/work/build/tmp/work*/**/temp/log.do_*.*
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -92,10 +81,10 @@ stm32mp157c-dk2:
|
||||
extends: .build
|
||||
|
||||
qemu-cortex-m3/testimage:
|
||||
extends: .build_and_test
|
||||
extends: .build
|
||||
|
||||
qemu-nios2/testimage:
|
||||
qemu-nios2:
|
||||
extends: .build
|
||||
|
||||
qemu-x86/testimage:
|
||||
extends: .build_and_test
|
||||
extends: .build
|
||||
|
||||
@@ -6,3 +6,4 @@ local_conf_header:
|
||||
IMAGE_CLASSES += "testimage"
|
||||
TEST_TARGET = "QemuTargetZephyr"
|
||||
TEST_SUITES = "zephyr"
|
||||
TESTIMAGE_AUTO = "1"
|
||||
|
||||
Reference in New Issue
Block a user