Whenever the kas option file opt-ci.yml is used we want the same build options as the CI uses, which includes setting the debug options.
Signed-off-by: Florian Bezdeka <florian.bezd...@siemens.com> --- ci/gitlab-ci-base.yml | 4 ++-- opt-ci.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/gitlab-ci-base.yml b/ci/gitlab-ci-base.yml index 231b9ca..82d5dac 100644 --- a/ci/gitlab-ci-base.yml +++ b/ci/gitlab-ci-base.yml @@ -39,8 +39,8 @@ default: stage: build script: - sudo sh -c "echo 'nameserver 8.8.8.8' > /etc/resolv.conf" - - echo "Building kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}:opt-debug.yml:opt-ci.yml" - - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}:opt-debug.yml:opt-ci.yml + - echo "Building kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}:opt-ci.yml" + - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}:opt-ci.yml - if [ -n "${USE_S3_BUCKET}" ]; then scripts/deploy_to_aws.sh ${TARGET}; fi .test: diff --git a/opt-ci.yml b/opt-ci.yml index 7f8d715..9df02d0 100644 --- a/opt-ci.yml +++ b/opt-ci.yml @@ -11,6 +11,8 @@ header: version: 10 + includes: + - opt-debug.yml repos: isar: -- 2.30.2