Skip to content

Commit 444cdc6

Browse files
committed
cargo build
Signed-off-by: Anush008 <anushshetty90@gmail.com>
1 parent 3b34216 commit 444cdc6

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/CI.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ jobs:
106106
107107
cd ..
108108
shell: cmd
109+
- name: Cargo build with ORT_LIB_LOCATION for Windows
110+
run: |
111+
echo Setting ORT_LIB_LOCATION environment variable...
112+
set ORT_LIB_LOCATION=%CD%\onnxruntime\build\Windows\Release
113+
echo ORT_LIB_LOCATION is set to: %ORT_LIB_LOCATION%
114+
115+
echo Verifying ORT_LIB_LOCATION directory contents:
116+
dir %ORT_LIB_LOCATION%
117+
118+
echo Running build command from matrix.settings.build:
119+
cargo build
120+
shell: cmd
121+
109122
- name: Build with ORT_LIB_LOCATION for Windows
110123
run: |
111124
echo Setting ORT_LIB_LOCATION environment variable...
@@ -119,7 +132,6 @@ jobs:
119132
${{ matrix.settings.build }}
120133
shell: cmd
121134

122-
123135
if: matrix.settings.host == 'windows-latest'
124136
- name: Build for MacOS
125137
run: '${{ matrix.settings.build }}'

0 commit comments

Comments
 (0)