Skip to content

Commit

Permalink
* 更新箱号服务conta_serviceV3.0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jadehh committed Oct 31, 2023
1 parent 3530b3c commit 2403625
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 79 deletions.
145 changes: 74 additions & 71 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
--name 箱号服务Amd64 \
--app_name conta_service_amd64 \
--lib_path conta_service_amd64_lib64 \
--is_exec False
--is_exec True
- name: 发布
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -105,8 +105,79 @@ jobs:
--extra_sys_str /usr/local/site-packages,/usr/local/opencv \
--app_name local_conta_service_onnx \
--lib_path local_conta_service_x86_lib64 \
--is_exec False \
--exclude_files libbz2.so.1.0,libcrypto.so.1.1,libsqlite3.so.0,libssl.so.1.1,libz.so.1,cryptography/hazmat/bindings/_openssl.abi3.so
--exclude_files libbz2.so.1.0,libcrypto.so.1.1,libsqlite3.so.0,libssl.so.1.1,libz.so.1,cryptography/hazmat/bindings/_openssl.abi3.so \
--is_exec True
- name: 发布
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files:
"./code/Output/*"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限
aarch64_job:
# The host should always be Linux
name: ${{ matrix.device_type }}箱号服务打包
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest" ] #, "macos-latest", "windows-latest"
device_type: ["RKNN","Ascend"]
steps:
- name: 下载代码
uses: actions/checkout@v3
with:
repository: jadehh/ContainerOCR
ref: conta_service
path: code
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
- name: RKNN打包环境准备
if: ${{ matrix.device_type=='RKNN'}}
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu18.04

# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}/code:/code"
base_image: jadehh/miniconda3:aarch64-4.9.2
# Set an output parameter `uname` for use in subsequent steps
run: |
cd /code
pip install -r requirements.txt
python packing_app.py \
--extra_sys_str /usr/local/site-packages \
--app_name local_conta_service_rknn \
--lib_path local_conta_service_aarch64_lib64 \
--is_exec True
- name: Ascend打包环境准备
if: ${{ matrix.device_type=='Ascend'}}
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu18.04

# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}/code:/code"
base_image: jadehh/miniconda3:aarch64-4.9.2
# Set an output parameter `uname` for use in subsequent steps
run: |
cd /code
pip install -r requirements.txt
python packing_app.py \
--extra_sys_str /usr/local/site-packages \
--app_name local_conta_service_ascend \
--lib_path local_conta_service_aarch64_lib64 \
--is_exec True
- name: 发布
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -115,72 +186,4 @@ jobs:
"./code/Output/*"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限
# aarch64_job:
# # The host should always be Linux
# name: ${{ matrix.device_type }}箱号服务打包
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ "ubuntu-latest" ] #, "macos-latest", "windows-latest"
# device_type: ["RKNN","Ascend"]
# steps:
# - name: 下载代码
# uses: actions/checkout@v3
# with:
# repository: jadehh/ContainerOCR
# ref: conta_service
# path: code
# token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
# - name: RKNN打包环境准备
# if: ${{ matrix.device_type=='RKNN'}}
# uses: uraimo/run-on-arch-action@v2
# with:
# arch: aarch64
# distro: ubuntu18.04
#
# # Not required, but speeds up builds by storing container images in
# # a GitHub package registry.
# githubToken: ${{ github.token }}
# dockerRunArgs: |
# --volume "${PWD}/code:/code"
# base_image: jadehh/miniconda3:aarch64-4.9.2
# # Set an output parameter `uname` for use in subsequent steps
# run: |
# cd /code
# pip install -r requirements.txt
# python packing_app.py \
# --extra_sys_str /usr/local/site-packages \
# --app_name local_conta_service_rknn \
# --lib_path local_conta_service_aarch64_lib64
# - name: Ascend打包环境准备
# if: ${{ matrix.device_type=='Ascend'}}
# uses: uraimo/run-on-arch-action@v2
# with:
# arch: aarch64
# distro: ubuntu18.04
#
# # Not required, but speeds up builds by storing container images in
# # a GitHub package registry.
# githubToken: ${{ github.token }}
# dockerRunArgs: |
# --volume "${PWD}/code:/code"
# base_image: jadehh/miniconda3:aarch64-4.9.2
# # Set an output parameter `uname` for use in subsequent steps
# run: |
# cd /code
# pip install -r requirements.txt
# python packing_app.py \
# --extra_sys_str /usr/local/site-packages \
# --app_name local_conta_service_ascend \
# --lib_path local_conta_service_aarch64_lib64
#
# - name: 发布
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files:
# "./code/Output/*"
# env:
# GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限

21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# 箱号服务
## 箱号服务V3.0.5.0 - 2023-10-31 02:04:28
conta_serviceV3.0.5.0
* [发布地址](https://github.com/jadehh/ContainerOCR/releases/tag/conta_serviceV3.0.5.0)
* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/conta_serviceV3.0.5.0)
## 箱号服务V3.0.5.1 - 2023-10-31 08:27:33
conta_serviceV3.0.5.1
* [发布地址](https://github.com/jadehh/ContainerOCR/releases/tag/conta_serviceV3.0.5.1)
* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/conta_serviceV3.0.5.1)
### 下载地址
* [conta_service_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.0/conta_service_lib64.zip)
* [local_conta_service_x86_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.0/local_conta_service_x86_lib64.zip)
* [local_conta_service_aarch64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.0/local_conta_service_aarch64_lib64.zip)
* [conta_service_amd64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.0/conta_service_amd64_lib64.zip)
* [conta_service_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/conta_service_lib64.zip)
* [local_conta_service_x86_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/local_conta_service_x86_lib64.zip)
* [local_conta_service_aarch64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/local_conta_service_aarch64_lib64.zip)
* [conta_service_amd64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/conta_service_amd64_lib64.zip)
* [conta_service](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/conta_service)
* [local_conta_service_onnx](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/local_conta_service_onnx)
* [local_conta_service_ascend](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/local_conta_service_ascend)
* [local_conta_service_rknn](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/local_conta_service_rknn)
* [conta_service_amd64](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_serviceV3.0.5.1/conta_service_amd64)
----

0 comments on commit 2403625

Please sign in to comment.