chore(CI): add OBS workflows

add OBS workflows support OBS build

Log:
This commit is contained in:
李成刚 2023-03-29 14:19:19 +08:00 committed by max.lv
parent 9821f4b6d9
commit 90b8552449
2 changed files with 46 additions and 2 deletions

44
.obs/workflows.yml Normal file
View file

@ -0,0 +1,44 @@
test_build:
steps:
- link_package:
source_project: deepin:Develop:dde
source_package: %{SCM_REPOSITORY_NAME}
target_project: deepin:CI
- configure_repositories:
project: deepin:CI
repositories:
- name: deepin_develop
paths:
- target_project: deepin:CI
target_repository: deepin_develop
architectures:
- x86_64
- aarch64
- name: debian
paths:
- target_project: deepin:CI
target_repository: debian_sid
architectures:
- x86_64
filters:
event: pull_request
tag_build:
steps:
- branch_package:
source_project: deepin:Develop:dde
source_package: %{SCM_REPOSITORY_NAME}
target_project: deepin:Unstable:dde
filters:
event: tag_push
commit_build:
steps:
- trigger_services:
project: deepin:Develop:dde
package: %{SCM_REPOSITORY_NAME}
filters:
event: push

View file

@ -3,8 +3,8 @@ Upstream-Name: gio-qt
Upstream-Contact: UnionTech Software Technology Co., Ltd. <>
Source: https://github.com/linuxdeepin/gio-qt
# github gitignore
Files: .github/* .gitignore
# github gitignore obs
Files: .github/* .gitignore .obs/*
Copyright: None
License: CC0-1.0