Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cjy880927 authored Jan 22, 2025
2 parents 5153379 + 767a6ba commit 7c62970
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 145 deletions.
69 changes: 69 additions & 0 deletions .obs/workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# OBS 构建工作流
## PR构建
test_build:
filters:
event: pull_request
steps:
# x86_64构建
- branch_package:
source_project: linglong:app
source_package: template_CI
target_project: linglong:app:CI:amd64
target_package: %{SCM_REPOSITORY_NAME}
- set_flags:
flags:
- type: build
status: enable
project: linglong:app:CI:amd64
- type: publish
status: enable
project: linglong:app:CI:amd64
- configure_repositories:
project: linglong:app:CI:amd64
repositories:
- name: deepin_23_repo
paths:
- target_project: linglong:app:CI
target_repository: deepin_23_repo
architectures:
- x86_64

# aarch64构建
- branch_package:
source_project: linglong:app
source_package: template_CI_aarch64
target_project: linglong:app:CI:aarch64
target_package: %{SCM_REPOSITORY_NAME}
- set_flags:
flags:
- type: build
status: enable
project: linglong:app:CI:aarch64
- type: publish
status: enable
project: linglong:app:CI:aarch64
- configure_repositories:
project: linglong:app:CI:aarch64
repositories:
- name: deepin_23_repo
paths:
- target_project: linglong:app:CI
target_repository: deepin_23_repo
architectures:
- aarch64

## TAG构建
commit_build:
filters:
event: tag_push
steps:
- branch_package:
source_project: linglong:app
source_package: template_CI
target_project: linglong:app:stable:amd64
target_package: %{SCM_REPOSITORY_NAME}
- branch_package:
source_project: linglong:app
source_package: template_CI_aarch64
target_project: linglong:app:stable:aarch64
target_package: %{SCM_REPOSITORY_NAME}
4 changes: 4 additions & 0 deletions arm64/linglong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ package:
version: 1.0.0.0
kind: app
description: |
convert from 4.1.22.6010deepin19 Tencent WXWork Client on Deepin Wine
base: org.deepin.base.wine/23.0.0/arm64
runtime: org.deepin.runtime.wine/23.0.0/arm64

Expand All @@ -19,10 +21,12 @@ sources:
url: https://aptly.uniontech.com/pkg/nonfree-eagle/release-candidate/d2luZTgtcnVudGltZTIyMDI0LTA5LTAzIDEzOjE1OjAx/pool/non-free/c/com.qq.weixin.work.deepin/signed_com.qq.weixin.work.deepin_4.1.22.6010deepin19_arm64.deb
digest: 87b42541a88aa1d1fd1ae45d80c2e7ee522994f4cff1fcb12244e3ca9f747091


build: |
set -x
SOURCES="linglong/sources"
dpkg-deb -x $SOURCES/signed_com.qq.weixin.work.deepin_4.1.22.6010deepin19_arm64.deb $SOURCES/com.qq.weixin.work.deepin
# run.sh替换
FILE_PATH="$SOURCES/com.qq.weixin.work.deepin/opt/apps/com.qq.weixin.work.deepin/files/run.sh"
sed -i -e 's|/opt/deepin-wine8-stable|/runtime/deepin-wine8-stable|g' \
Expand Down
126 changes: 0 additions & 126 deletions install_dep

This file was deleted.

3 changes: 3 additions & 0 deletions linglong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ package:
base: org.deepin.base.wine/23.2.0
runtime: org.deepin.runtime.wine/23.2.1


command:
- /opt/apps/com.qq.weixin.work.deepin/files/run.sh

Expand All @@ -19,10 +20,12 @@ sources:
url: https://winedata-dev.deepin.com/apps/com.qq.weixin.work.deepin/ce9dffd/signed_com.qq.weixin.work.deepin_4.1.32.6005deepin0_amd64.deb
digest: 5f9a6aa33fdacb3f76ef72fb83eff15326233d40ff34acb9b2b7cb66c8cec3ee


build: |
set -x
SOURCES="linglong/sources"
dpkg-deb -x $SOURCES/signed_com.qq.weixin.work.deepin_4.1.32.6005deepin0_amd64.deb $SOURCES/com.qq.weixin.work.deepin
# run.sh替换
FILE_PATH="$SOURCES/com.qq.weixin.work.deepin/opt/apps/com.qq.weixin.work.deepin/files/run.sh"
sed -i -e 's|/opt/deepin-wine8-stable|/runtime/deepin-wine8-stable|g' \
Expand Down
19 changes: 0 additions & 19 deletions update_runtime.sh

This file was deleted.

0 comments on commit 7c62970

Please sign in to comment.