Skip to content

Commit f57c90e

Browse files
authored
Update build_wheels_windows.yml
1 parent f9e4b60 commit f57c90e

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,19 @@ jobs:
113113
114114
python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\\wheelhouse -v
115115
shell: cmd
116-
116+
117+
- name: Copy OpenBLAS DLL to wheelhouse
118+
run: |
119+
copy openblas\bin\libopenblas.dll wheelhouse\
120+
shell: cmd
121+
117122
- name: Saving all wheels
118123
uses: actions/upload-artifact@v4
119124
with:
120125
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
121126
path: |
122127
wheelhouse/opencv*
128+
wheelhouse/libopenblas.dll
123129
124130
Test:
125131
needs: [Build]
@@ -161,8 +167,18 @@ jobs:
161167
with:
162168
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
163169
path: wheelhouse/
164-
165170

171+
- name: Add OpenBLAS DLL to PATH
172+
run: |
173+
set "PATH=%CD%\wheelhouse;%PATH%"
174+
echo %PATH%
175+
shell: cmd
176+
177+
- name: Check OpenBLAS DLL presence
178+
run: |
179+
where libopenblas.dll || echo "OpenBLAS DLL not found"
180+
shell: cmd
181+
166182
- name: Package installation
167183
run: |
168184
cd ${{ github.workspace }}/tests

0 commit comments

Comments
 (0)