Skip to content

Commit 838d87a

Browse files
committedApr 22, 2024
use setupvars
1 parent 1ac87a3 commit 838d87a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎.github/workflows/windows.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ jobs:
143143

144144
- name: CMake configure - OpenVINO Contrib
145145
run: |
146+
$env:OpenCV_DIR=C:/tools/opencv/build
147+
. "${{ env.INSTALL_DIR }}/setupvars.ps1"
146148
cmake -GNinja `
147149
-DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} `
148150
-S ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations `
@@ -161,7 +163,6 @@ jobs:
161163
- name: Custom user operation tests
162164
working-directory: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations
163165
run: |
164-
ls ${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}
165166
. "${{ env.INSTALL_DIR }}/setupvars.ps1"
166167
python3 -m pip install -r ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations/tests/requirements.txt
167168

0 commit comments

Comments
 (0)