File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2525 run : |
2626 source venv/bin/activate
2727 python -m pip install --upgrade pip
28- pip install model_api/python/[tests] --extra-index-url https://download.pytorch.org/whl/cpu
28+ pip install model_api/python/[tests, build ] --extra-index-url https://download.pytorch.org/whl/cpu
2929 - name : Prepare test data
3030 run : |
3131 source venv/bin/activate
@@ -35,11 +35,12 @@ jobs:
3535 source venv/bin/activate
3636 pytest --data=./data tests/python/accuracy/test_accuracy.py
3737 DATA=data pytest --data=./data tests/python/accuracy/test_YOLOv8.py
38- - name : Install CPP ependencies
38+ - name : Install CPP dependencies
3939 run : |
4040 sudo bash model_api/cpp/install_dependencies.sh
4141 - name : Build CPP Test
4242 run : |
43+ source venv/bin/activate
4344 mkdir build && cd build
4445 cmake ../tests/cpp/accuracy/ -DCMAKE_CXX_FLAGS=-Werror
4546 make -j
Original file line number Diff line number Diff line change 7272 python tests/cpp/precommit/prepare_data.py -d data -p tests/cpp/precommit/public_scope.json
7373 - name : Build
7474 run : |
75+ source venv/bin/activate
7576 mkdir build && cd build
7677 cmake ../tests/cpp/precommit/ -DCMAKE_CXX_FLAGS=-Werror
7778 cmake --build . -j $((`nproc`*2+2))
@@ -112,8 +113,8 @@ jobs:
112113 shell : bash
113114 run : |
114115 mkdir build && cd build
115- MSYS_NO_PATHCONV=1 cmake ../examples/cpp/ -DOpenVINO_DIR=$GITHUB_WORKSPACE/w_openvino_toolkit_windows_2024.6.0.17404.4c0f47d2335_x86_64/runtime/cmake -DOpenCV_DIR=$GITHUB_WORKSPACE/opencv/opencv/build -DCMAKE_CXX_FLAGS=/WX
116- cmake --build . --config Release -j $((`nproc`*2+2)) -DENABLE_PY_BINDINGS=OFF
116+ MSYS_NO_PATHCONV=1 cmake ../examples/cpp/ -DOpenVINO_DIR=$GITHUB_WORKSPACE/w_openvino_toolkit_windows_2024.6.0.17404.4c0f47d2335_x86_64/runtime/cmake -DOpenCV_DIR=$GITHUB_WORKSPACE/opencv/opencv/build -DCMAKE_CXX_FLAGS=/WX -DENABLE_PY_BINDINGS=OFF
117+ cmake --build . --config Release -j $((`nproc`*2+2))
117118 - name : Run sync sample
118119 shell : cmd
119120 # .\w_openvino_toolkit_windows_2023.0.0.10926.b4452d56304_x86_64\setupvars.bat exits with 0 code without moving to a next command. Set PATH manually
You can’t perform that action at this time.
0 commit comments