Skip to content

Commit

Permalink
Adding_workflow_for_triggering_internal_ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TejalKhade28 committed Sep 20, 2024
1 parent 8ded1d7 commit c4b47f2
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_ovep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
cd w_openvino_toolkit_windows_2024.3.0.16041.1e3b88e4e3f_x86_64
call setupvars.bat
cd ../../
call build.bat --build --update --config Release --cmake_generator "Visual Studio 17 2022" --use_openvino --build_shared_lib --skip_tests --parallel --compile_no_warning_as_error
call build.bat --build --update --config Release --cmake_generator "Visual Studio 17 2022" --use_openvino --build_shared_lib --parallel --enable_pybind
shell: cmd
36 changes: 36 additions & 0 deletions .github/workflows/internal_ci_ovep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name : Trigger Internal ci

on:
push:
branches:
- '**' # Triggers on push to any branch
pull_request:
branches:
- '**' # Triggers on a PR to any branch

jobs:
build:

runs-on: ubuntu-latest
env:
BUILD_SOURCESDIRECTORY: ${{ github.workspace }}
BUILD_BINARIESDIRECTORY: ${{ github.workspace }}/build
steps:
- uses: actions/checkout@v4 #checkout to your repository

- name: Set up Python
uses: actions/setup-python@v4 # Use the setup-python action
with:
python-version: '3.10'

- name: Create build directory
run: |
mkdir -p ${{ env.BUILD_BINARIESDIRECTORY }}
chmod -R 777 ${{ env.BUILD_BINARIESDIRECTORY }}
- name: Running Internal CI
run: |
cd tools/ci_build/github/linux/
dir
./run_dockerbuild.sh -o ubuntu22.04 -p 3.10 -d openvino -v 2024.3.0 -x "--config RelWithDebInfo --use_openvino CPU --build_wheel --build_shared_lib --parallel --enable_pybind "
shell: bash

0 comments on commit c4b47f2

Please sign in to comment.