Skip to content

Commit

Permalink
edit workflows:onnxruntime 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminwan committed May 23, 2022
1 parent ca596b6 commit 7ed178d
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 27 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
python-version: [ 3.8.5 ]

env:
ONNX_VERSION: v1.9.1
SHARED_PKG_NAME: onnxruntime-1.9.1-ubuntu1804-shared
STATIC_PKG_NAME: onnxruntime-1.9.1-ubuntu1804-static
ONNX_VERSION: v1.10.0
SHARED_PKG_NAME: onnxruntime-1.10.0-ubuntu1804-shared
STATIC_PKG_NAME: onnxruntime-1.10.0-ubuntu1804-static

steps:
# 检出代码
Expand Down Expand Up @@ -80,9 +80,9 @@ jobs:
runs-on: macos-10.15

env:
ONNX_VERSION: v1.9.1
SHARED_PKG_NAME: onnxruntime-1.9.1-macos1015-shared
STATIC_PKG_NAME: onnxruntime-1.9.1-macos1015-static
ONNX_VERSION: v1.10.0
SHARED_PKG_NAME: onnxruntime-1.10.0-macos1015-shared
STATIC_PKG_NAME: onnxruntime-1.10.0-macos1015-static

steps:
# 检出代码
Expand Down Expand Up @@ -143,9 +143,9 @@ jobs:
runs-on: windows-2019

env:
ONNX_VERSION: v1.9.1
SHARED_PKG_NAME: onnxruntime-1.9.1-vs2019-shared
STATIC_PKG_NAME: onnxruntime-1.9.1-vs2019-static
ONNX_VERSION: v1.10.0
SHARED_PKG_NAME: onnxruntime-1.10.0-vs2019-shared
STATIC_PKG_NAME: onnxruntime-1.10.0-vs2019-static

steps:
# 检出代码
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.9.1-ubuntu1804-shared
PKG_NAME: onnxruntime-1.10.0-ubuntu1804-shared
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -273,7 +273,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.9.1-ubuntu1804-static
PKG_NAME: onnxruntime-1.10.0-ubuntu1804-static
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -284,7 +284,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.9.1-macos1015-shared
PKG_NAME: onnxruntime-1.10.0-macos1015-shared
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -295,7 +295,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.9.1-macos1015-static
PKG_NAME: onnxruntime-1.10.0-macos1015-static
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -306,7 +306,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.9.1-vs2019-shared
PKG_NAME: onnxruntime-1.10.0-vs2019-shared
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -317,7 +317,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.9.1-vs2019-static
PKG_NAME: onnxruntime-1.10.0-vs2019-static
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
python-version: [ 3.8.5 ]

env:
ONNX_VERSION: v1.9.1
SHARED_PKG_NAME: onnxruntime-1.9.1-ubuntu1804-shared
STATIC_PKG_NAME: onnxruntime-1.9.1-ubuntu1804-static
ONNX_VERSION: v1.10.0
SHARED_PKG_NAME: onnxruntime-1.10.0-ubuntu1804-shared
STATIC_PKG_NAME: onnxruntime-1.10.0-ubuntu1804-static

steps:
# 检出代码
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: macos-10.15

env:
ONNX_VERSION: v1.9.1
SHARED_PKG_NAME: onnxruntime-1.9.1-macos1015-shared
STATIC_PKG_NAME: onnxruntime-1.9.1-macos1015-static
ONNX_VERSION: v1.10.0
SHARED_PKG_NAME: onnxruntime-1.10.0-macos1015-shared
STATIC_PKG_NAME: onnxruntime-1.10.0-macos1015-static

steps:
# 检出代码
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows-vs2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: windows-2019

env:
ONNX_VERSION: v1.9.0
SHARED_PKG_NAME: onnxruntime-1.9.0-vs2019-shared
STATIC_PKG_NAME: onnxruntime-1.9.0-vs2019-static
ONNX_VERSION: v1.10.0
SHARED_PKG_NAME: onnxruntime-1.10.0-vs2019-shared
STATIC_PKG_NAME: onnxruntime-1.10.0-vs2019-static

steps:
# 检出代码
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ Starting from this release, all ONNX Runtime CPU packages are now built without
从1.9.0开始,移除OpenMP编译选项,保持与官方一致

#### 20220521
1.9.1
1.9.1

#### 20220523
1.10.0
4 changes: 2 additions & 2 deletions build-onnxruntime.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# build onnxruntime 1.7 by benjaminwan
# build onnxruntime 1.10 by benjaminwan
# CMakeFiles/onnxruntime.dir/link.txt/link/lib*.a

function collectLibs() {
Expand All @@ -13,8 +13,8 @@ function collectLibs() {
cp libonnxruntime_util.a install-static/lib
cp libonnxruntime_framework.a install-static/lib
cp libonnxruntime_graph.a install-static/lib
cp libonnxruntime_common.a install-static/lib
cp libonnxruntime_mlas.a install-static/lib
cp libonnxruntime_common.a install-static/lib
cp libonnxruntime_flatbuffers.a install-static/lib
cp external/onnx/libonnx.a install-static/lib
cp external/onnx/libonnx_proto.a install-static/lib
Expand Down

0 comments on commit 7ed178d

Please sign in to comment.