Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
ci/scmi: add scmi-test job
Browse files Browse the repository at this point in the history
Add `scmi-test` job, which runs SCMI compliance suite in CI pipelines.
The job is included in deployment and daily pipelines.

Signed-off-by: Mohamed Omar Asaker <[email protected]>
Change-Id: I7275a17b3c8420571cbc4102268d937b3c10b823
  • Loading branch information
mohamedasaker-arm committed Mar 26, 2024
1 parent c2206b8 commit fb0daf7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitlab/pipelines/daily-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ stages:
- static-analysis
- unit-testing
- build
- scmi-test

include:
- local: .gitlab/templates/linting.yml
- local: .gitlab/templates/static-analysis.yml
- local: .gitlab/templates/unit-test.yml
- local: .gitlab/templates/build-test.yml
- local: .gitlab/templates/scmi-test.yml

check-lint:
extends: .check-lint
Expand All @@ -40,3 +42,8 @@ check-modules:
build-products-all-log-levels:
extends: .build-products-all-log-levels
stage: build
allow_failure: true

scmi-test:
extends: .scmi-test
stage: scmi-test
6 changes: 6 additions & 0 deletions .gitlab/pipelines/deployment-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ stages:
- static-analysis
- unit-testing
- build
- scmi-test

include:
- local: .gitlab/templates/linting.yml
- local: .gitlab/templates/static-analysis.yml
- local: .gitlab/templates/unit-test.yml
- local: .gitlab/templates/build-test.yml
- local: .gitlab/templates/scmi-test.yml

check-lint:
extends: .check-lint
Expand Down Expand Up @@ -44,3 +46,7 @@ check-modules:
build-products:
extends: .build-products
stage: build

scmi-test:
extends: .scmi-test
stage: scmi-test
19 changes: 19 additions & 0 deletions .gitlab/templates/scmi-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Arm SCP/MCP Software
# Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#

.scmi-test:
image: ${CI_REGISTRY_IMAGE}/scmi-tester-amd64
tags:
- amd64
variables:
SCP_CI_PLATFORMS: "sgm776"
GIT_SUBMODULE_STRATEGY: recursive
GIT_DEPTH: 1
before_script:
- ln -s $(pwd) /scp
script:
- /scmi_tester_entrypoint.sh

0 comments on commit fb0daf7

Please sign in to comment.