diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36cf61ac..840a6507 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,17 +41,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 # @@ -138,7 +127,7 @@ juno: FIRMWARE: [uboot, edk2] microbit-v1: - extends: .build_and_test + extends: .build parallel: matrix: - TESTING: testimage-zephyr @@ -159,7 +148,7 @@ qemu-cortex-a53: extends: .build qemu-cortex-m3: - extends: .build_and_test + extends: .build parallel: matrix: - TESTING: testimage-zephyr diff --git a/ci/testimage-zephyr.yml b/ci/testimage-zephyr.yml index 7ef051b5..83e17a70 100644 --- a/ci/testimage-zephyr.yml +++ b/ci/testimage-zephyr.yml @@ -6,3 +6,4 @@ local_conf_header: IMAGE_CLASSES += "testimage" TEST_TARGET = "QemuTargetZephyr" TEST_SUITES = "zephyr" + TESTIMAGE_AUTO = "1"