File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ jobs:
148
148
- name : Cmake install
149
149
run : |
150
150
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -P ${BUILD_DIR}/cmake_install.cmake
151
+ cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCOMPONENT=python_wheels -P ${BUILD_DIR}/cmake_install.cmake
151
152
cmake -DCMAKE_INSTALL_PREFIX=${DEVELOPER_PACKAGE_DIR} -DCOMPONENT=developer_package -P ${BUILD_DIR}/cmake_install.cmake
152
153
153
154
- name : Java tests
@@ -163,7 +164,7 @@ jobs:
163
164
- name : Install requirements for custom operations tests
164
165
run : |
165
166
python3 -m pip install -r ${OPENVINO_CONTRIB_REPO}/modules/custom_operations/tests/requirements.txt
166
- python3 -m pip install ${INSTALL_DIR}/tools /openvino-*.whl
167
+ python3 -m pip install ${INSTALL_DIR}/wheels /openvino-*.whl
167
168
168
169
- name : Custom user operation tests
169
170
working-directory : ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations
Original file line number Diff line number Diff line change @@ -122,13 +122,15 @@ jobs:
122
122
run : ccache --show-stats
123
123
124
124
- name : Cmake install
125
- run : cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
125
+ run : |
126
+ cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
127
+ cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCOMPONENT=python_wheels -P ${{ env.BUILD_DIR }}/cmake_install.cmake
126
128
127
129
- name : Java tests
128
130
working-directory : ${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api
129
131
run : |
130
132
. ${{ env.INSTALL_DIR }}/setupvars.sh gradle clean build --info
131
-
133
+
132
134
for d in CPU HETERO:CPU; do
133
135
gradle test -Prun_tests -DMODELS_PATH=${{ env.TEST_DATA }} -Ddevice=$d --info;
134
136
done
@@ -137,8 +139,8 @@ jobs:
137
139
run : |
138
140
source ${{ env.INSTALL_DIR }}/setupvars.sh
139
141
python3 -m pip install -r ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations/tests/requirements.txt
140
-
141
- pushd ${{ env.INSTALL_DIR }}/tools
142
+
143
+ pushd ${{ env.INSTALL_DIR }}/wheels
142
144
wheel_name=$(find . -name 'openvino-*.whl')
143
145
python3 -m pip install $wheel_name
144
146
popd
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ jobs:
181
181
call C:\tools\opencv\build\setup_vars_opencv4.cmd
182
182
call ${{ env.INSTALL_DIR }}\setupvars.bat
183
183
python3 -m pip install -r ${{ env.OPENVINO_CONTRIB_REPO }}\modules\custom_operations\tests\requirements.txt
184
-
184
+
185
185
python3 -m pytest -k "not sparse_conv" tests\run_tests.py
186
186
env :
187
187
CUSTOM_OP_LIB : ${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/user_ov_extensions.dll
You can’t perform that action at this time.
0 commit comments