File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,13 @@ jobs:
112
112
echo %CMAKE_ARGS%
113
113
114
114
python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\\wheelhouse -v
115
+ for /d %%D in (build\lib*) do set BUILDDIR=%%D
116
+ if exist %BUILDDIR%\cv2 (
117
+ copy /Y openblas\bin\libopenblas.dll %BUILDDIR%\cv2\libopenblas.dll
118
+ ) else (
119
+ echo [!] cv2 directory not found in %BUILDDIR%
120
+ exit /b 1
121
+ )
115
122
shell : cmd
116
123
117
124
- name : Saving all wheels
@@ -120,7 +127,6 @@ jobs:
120
127
name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
121
128
path : |
122
129
wheelhouse/opencv*
123
- openblas/**
124
130
125
131
Test :
126
132
needs : [Build]
@@ -166,9 +172,6 @@ jobs:
166
172
167
173
- name : Package installation
168
174
run : |
169
- $env:OpenBLAS_HOME = "$PWD"
170
- $env:PATH = "$env:OpenBLAS_HOME\wheelhouse\openblas\bin;$env:PATH"
171
- Write-Host "OpenBLAS_HOME=$env:OpenBLAS_HOME"
172
175
cd ${{ github.workspace }}/tests
173
176
&python -m pip install --user --no-warn-script-location (ls "../wheelhouse/opencv*.whl")
174
177
if ($LastExitCode -ne 0) {throw $LastExitCode}
You can’t perform that action at this time.
0 commit comments