diff --git a/.gitlab/pipelines/daily-pipeline.yml b/.gitlab/pipelines/daily-pipeline.yml index 641a0675b1ba3c353b95f980679f078efd6b0980..c2ad2fd740ba79441ad4e5e1e52424f41b684d4b 100644 --- a/.gitlab/pipelines/daily-pipeline.yml +++ b/.gitlab/pipelines/daily-pipeline.yml @@ -44,8 +44,8 @@ check-ut: stage: unit-testing allow_failure: true -build-products-all-log-levels: - extends: .build-products-all-log-levels +build-products-all-products-all-log-levels: + extends: .build-products-all-products-all-log-levels stage: build allow_failure: true diff --git a/.gitlab/pipelines/deployment-pipeline.yml b/.gitlab/pipelines/deployment-pipeline.yml index 812f3b63b4100c693280f2c4788c6c8d6d7e1999..87dc8b214a4a6ca144e3e4e4d78918d781fa9a68 100644 --- a/.gitlab/pipelines/deployment-pipeline.yml +++ b/.gitlab/pipelines/deployment-pipeline.yml @@ -101,7 +101,7 @@ check-ut: build-products: extends: - - .build-products + - .build-products-all-products - .git-strategy-on-mr stage: build dependencies: diff --git a/.gitlab/templates/build-test.yml b/.gitlab/templates/build-test.yml index 60d9a6daf3df9fa784b38f8f83c257efc7e137a1..ad82ba1fb0adc90fbea5aee65f3d0667920c39f1 100644 --- a/.gitlab/templates/build-test.yml +++ b/.gitlab/templates/build-test.yml @@ -17,27 +17,38 @@ else export LOG_LEVEL="--log-level=$BUILD_PRODUCTS_LOG_LEVEL" fi + if [ -z $BUILD-PRODUCT ]; then + export PRODUCT="" + else + export PRODUCT="-p $BUILD_PRODUCT" + fi script: - | python3 tools/check_build.py --build-output-dir ./build \ - ${LOG_LEVEL} + ${LOG_LEVEL} ${PRODUCT} artifacts: when: on_failure expire_in: 2 days paths: - build/*.txt -.build-products-all-log-levels: +.build-products-all-products: + extends: .build-products + parallel: + matrix: + - BUILD_PRODUCT: + [host, juno, morello, n1sdp, rcar, rdfremont, rdv1, rdv1mc, rdn1e1, rdn2, + sgi575, sgm775, sgm776, synquacer, tc2] + +.build-products-all-products-all-log-levels: extends: .build-products parallel: matrix: - - BUILD_PRODUCTS_LOG_LEVEL: - - DEBUG - - INFO - - WARN - - ERROR - - CRIT - - DISABLED + - BUILD_PRODUCT: + [host, juno, morello, n1sdp, rcar, rdfremont, rdv1, rdv1mc, rdn1e1, rdn2, + sgi575, sgm775, sgm776, synquacer, tc2] + BUILD_PRODUCTS_LOG_LEVEL: + [DEBUG, INFO, WARN, ERROR, CRIT, DISABLED] .build-optee: image: ${CI_REGISTRY_IMAGE}/optee-build:latest