Skip to content
Snippets Groups Projects
Unverified Commit dfc0419a authored by Zygmunt Krynicki's avatar Zygmunt Krynicki Committed by Andrei Gherzan
Browse files

ci: add basic continuous integration

Add typical OSTC pipeline with a small twist to perform just the Zephyr
builds.

Fixes: https://git.ostc-eu.org/OSTC/OHOS/meta-zephyr/-/issues/3


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 423fd741
No related branches found
No related tags found
No related merge requests found
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
stages:
- compliance
- build
- test
include:
- project: 'OSTC/infrastructure/pipelines'
file:
- 'dco.yaml'
- 'reuse.yaml'
- project: 'OSTC/OHOS/manifest'
file: '.ostc-ci/build-generic.yaml'
dco:
extends: .dco
reuse:
extends: .reuse
# TODO: file tracking bug
allow_failure: true
# Customize the .workspace job to set the path of the git repository to deviate
# from what the git-repo manifest prepares. This effectively allows testing
# incoming changes that match the repository holding this CI pipeline.
.workspace:
variables:
OHOS_CI_GIT_REPO_PATH: sources/meta-zephyr
# Disable Linux and FreeRTOS builds that are unlikely to be affected by Zephyr
# changes and certainly save some time.
.build-linux:
rules:
- when: never
.build-freertos:
rules:
- when: never
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment