Skip to content

Commit 4c280cc

Browse files
ravi9wine99
authored andcommitted
Update CI to run OV dep install before build
1 parent cfd40a9 commit 4c280cc

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/actions/linux-setup-openvino/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,3 @@ runs:
2323
type: z
2424
strip: 1
2525

26-
- name: Install OpenVINO dependencies
27-
shell: bash
28-
run: |
29-
cd ${{ inputs.path }}
30-
echo "Y" | sudo -E ./install_dependencies/install_openvino_dependencies.sh

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,12 @@ jobs:
740740
version_major: ${{ env.OPENVINO_VERSION_MAJOR }}
741741
version_full: ${{ env.OPENVINO_VERSION_FULL }}
742742

743+
- name: Install OpenVINO dependencies
744+
run: |
745+
cd ./openvino_toolkit
746+
chmod +x ./install_dependencies/install_openvino_dependencies.sh
747+
echo "Y" | sudo -E ./install_dependencies/install_openvino_dependencies.sh
748+
743749
- name: Build
744750
id: cmake_build
745751
run: |

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ jobs:
284284
version_major: ${{ env.OPENVINO_VERSION_MAJOR }}
285285
version_full: ${{ env.OPENVINO_VERSION_FULL }}
286286

287+
- name: Install OpenVINO dependencies
288+
run: |
289+
cd ./openvino_toolkit
290+
chmod +x ./install_dependencies/install_openvino_dependencies.sh
291+
echo "Y" | sudo -E ./install_dependencies/install_openvino_dependencies.sh
292+
287293
- name: Build
288294
id: cmake_build
289295
run: |

0 commit comments

Comments
 (0)