diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml index 658e59a8857b86a328934c0e2ebde29c4f7a0e7a..7d71cb8c67dcad33768f91e65ebe2827c66feea8 100644 --- a/.ostc-ci/gitlab-ci.yml +++ b/.ostc-ci/gitlab-ci.yml @@ -18,6 +18,7 @@ stages: - compliance - build - test + - report - deploy include: @@ -27,6 +28,8 @@ include: - 'reuse.yaml' - project: 'OSTC/OHOS/manifest' file: '.ostc-ci/build-generic.yaml' + - project: 'OSTC/OHOS/manifest' + file: '.ostc-ci/test-generic.yaml' # By default, the CI pipeline is invoked using an explicit git ref (branch # name) in the manifest. This include is a HACK to allow the CI pipeline to get # changes to the machine-and-flavours.yaml picked up directly from the incoming @@ -74,3 +77,16 @@ aggregate-docs: - meta-*/**/* - .ostc-ci/*.yml - if: '$CI_COMMIT_TAG' + +lava-linux-avenger96: + needs: [linux-stm32mp1-av96] + stage: test + extends: .lava-test + variables: + CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/avenger96-acts.yaml" + CI_BUILD_JOB_NAME: linux-stm32mp1-av96 + CI_REPORT_JOB_NAME: lava-report + +lava-report: + needs: [lava-linux-avenger96] + extends: .lava-report diff --git a/.ostc-ci/machines-and-flavours.yaml b/.ostc-ci/machines-and-flavours.yaml index 7fcf99256045abd51ffa80f4bfca229f0c6d2e69..9bb3cbd2391e1b20083a05baac140dd2123371ce 100644 --- a/.ostc-ci/machines-and-flavours.yaml +++ b/.ostc-ci/machines-and-flavours.yaml @@ -47,8 +47,10 @@ linux-seco-imx8mm-c61: OHOS_BB_LOCAL_CONF_ACCEPT_FSL_EULA: 1 linux-stm32mp1-av96: - extends: .build-linux + extends: .build-image variables: + OHOS_BUILD_FLAVOUR: linux + OHOS_RECIPE_NAME: allscenarios-image-base-tests MACHINE: stm32mp1-av96 linux-raspberrypi4-64: