File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 51
51
run : |
52
52
dotnet new console
53
53
dotnet add package ${{ env.ORT_PACKAGE_NAME }} --version ${{ env.ORT_NIGHTLY_VERSION }} --source ${{ env.ORT_NIGHTLY_SOURCE }} --package-directory .
54
- dotnet build
55
54
continue-on-error : true
56
55
57
56
- name : list files
Original file line number Diff line number Diff line change 70
70
run : |
71
71
dotnet new console
72
72
dotnet add package ${{ env.ORT_PACKAGE_NAME }} --version ${{ env.ORT_NIGHTLY_VERSION }} --source ${{ env.ORT_NIGHTLY_SOURCE }} --package-directory .
73
- dotnet build
74
73
continue-on-error : true
75
74
76
75
- name : list files
Original file line number Diff line number Diff line change 81
81
run : |
82
82
dotnet new console
83
83
dotnet add package ${{ env.ORT_PACKAGE_NAME }} --version ${{ env.ORT_NIGHTLY_VERSION }} --source ${{ env.ORT_NIGHTLY_SOURCE }} --package-directory .
84
- dotnet build
85
84
continue-on-error : true
86
85
87
86
- name : list files
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ concurrency:
11
11
cancel-in-progress : true
12
12
env :
13
13
ORT_NIGHTLY_REST_API : " https://feeds.dev.azure.com/aiinfra/PublicPackages/_apis/packaging/Feeds/ORT-Nightly/packages?packageNameQuery=Microsoft.ML.OnnxRuntime&api-version=6.0-preview.1"
14
+ ORT_NIGHTLY_SOURCE : " https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/nuget/v3/index.json"
14
15
ORT_PACKAGE_NAME : " Microsoft.ML.OnnxRuntime"
15
16
jobs :
16
17
mac-cpu-arm64-build :
@@ -44,13 +45,14 @@ jobs:
44
45
echo "ORT_NIGHTLY_VERSION=$ORT_NIGHTLY_VERSION" >> $GITHUB_ENV
45
46
- name : Download OnnxRuntime Nightly
46
47
run : |
47
- nuget install ${{ env.ORT_PACKAGE_NAME }} -version ${{ env.ORT_NIGHTLY_VERSION }} -x
48
+ dotnet new console
49
+ dotnet add package ${{ env.ORT_PACKAGE_NAME }} --version ${{ env.ORT_NIGHTLY_VERSION }} --source ${{ env.ORT_NIGHTLY_SOURCE }} --package-directory .
48
50
49
51
- name : Extract OnnxRuntime library and header files
50
52
run : |
51
53
mkdir -p ort/lib
52
- mv ${{ env.ORT_PACKAGE_NAME }}/build/native/include ort/
53
- mv ${{ env.ORT_PACKAGE_NAME }}/runtimes/osx-arm64/native/* ort/lib/
54
+ mv ${{ env.ORT_PACKAGE_NAME }}/${{ env.ORT_NIGHTLY_VERSION }}/ build/native/include ort/
55
+ mv ${{ env.ORT_PACKAGE_NAME }}/${{ env.ORT_NIGHTLY_VERSION }}/ runtimes/osx-arm64/native/* ort/lib/
54
56
55
57
- name : Install Rust Toolchain
56
58
run : |
You can’t perform that action at this time.
0 commit comments