[meta-zephyr] [PATCH 2/2] CI: Use TESTIMAGE_AUTO


Peter Hoyes
 

From: Peter Hoyes <Peter.Hoyes@...>

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@...>
---
.gitlab-ci.yml | 17 +++--------------
ci/testimage.yml | 1 +
2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 68abd32..014123f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,17 +35,6 @@ stages:
paths:
- $CI_PROJECT_DIR/work/build/tmp/work*/**/temp/log.do_*.*
=20
-# Workaround for Zephyr not currectly handling TESTIMAGE_AUTO
-.build_and_test:
- extends: .setup
- script:
- - KASFILES=3D$(./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
=20
qemu-cortex-m3/testimage:
- extends: .build_and_test
+ extends: .build
=20
-qemu-nios2/testimage:
+qemu-nios2:
extends: .build
=20
qemu-x86/testimage:
- extends: .build_and_test
+ extends: .build
diff --git a/ci/testimage.yml b/ci/testimage.yml
index 7ef051b..83e17a7 100644
--- a/ci/testimage.yml
+++ b/ci/testimage.yml
@@ -6,3 +6,4 @@ local_conf_header:
IMAGE_CLASSES +=3D "testimage"
TEST_TARGET =3D "QemuTargetZephyr"
TEST_SUITES =3D "zephyr"
+ TESTIMAGE_AUTO =3D "1"
--=20
2.25.1