From 240362515aa1ead52182ebd1270fe6461aeb8c74 Mon Sep 17 00:00:00 2001 From: jade Date: Tue, 31 Oct 2023 08:27:33 +0000 Subject: [PATCH] =?UTF-8?q?*=20=20=E6=9B=B4=E6=96=B0=E7=AE=B1=E5=8F=B7?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1conta=5FserviceV3.0.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-release.yml | 145 ++++++++++++++------------- README.md | 21 ++-- 2 files changed, 87 insertions(+), 79 deletions(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 8e4e237..002d47f 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -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/') @@ -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/') @@ -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 }} # 给最高的权限 diff --git a/README.md b/README.md index de05d82..8a018be 100644 --- a/README.md +++ b/README.md @@ -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) ---- \ No newline at end of file