Skip to content

Commit 00cb9e7

Browse files
committed
Testing internal ci
1 parent 66980e4 commit 00cb9e7

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

.github/workflows/internal_ci.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name : Trigger Internal ci
2+
3+
on:
4+
push:
5+
branches:
6+
- '**' # Triggers on push to any branch let' see ggg hhh hh g hhg
7+
pull_request:
8+
branches:
9+
- '**' # Triggers on a PR to any branch
10+
11+
jobs:
12+
build:
13+
14+
runs-on: [self-hosted, Linux, X64] # Use specific runner labels fr
15+
env:
16+
BUILD_SOURCESDIRECTORY: ${{ github.workspace }}
17+
BUILD_BINARIESDIRECTORY: ${{ github.workspace }}/build
18+
# OPENVINO_VERSION: '2024.3.0' # Define your OpenVINO version
19+
# PROXY_HTTP: 'http://proxy-dmz.intel.com:911/' # Set your HTTP proxy
20+
# PROXY_HTTPS: 'http://proxy-dmz.intel.com:912/'
21+
steps:
22+
- uses: actions/checkout@v4 #checkout to your repository
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v4 # Use the setup-python action
26+
with:
27+
python-version: '3.10'
28+
29+
# - name: Set up Docker permissions
30+
# run: |
31+
# sudo groupadd -f docker
32+
# sudo usermod -aG docker $USER
33+
# sudo chown $USER:docker /var/run/docker.sock
34+
# sudo chmod 666 /var/run/docker.sock
35+
# shell: bash
36+
37+
- name: Create build directory
38+
run: |
39+
mkdir -p ${{ env.BUILD_BINARIESDIRECTORY }}
40+
chmod -R 777 ${{ env.BUILD_BINARIESDIRECTORY }}
41+
42+
# - name: Update Docker Build Command in Script
43+
# run: |
44+
# docker_build_command_new='BUILD_ARGS+=" --build-arg OPENVINO_VERSION=${OPENVINO_VERSION} --build-arg http_proxy=${PROXY_HTTP} --build-arg https_proxy=${PROXY_HTTPS}"'
45+
# sed -i "/--build-arg OPENVINO_VERSION=\${OPENVINO_VERSION}/c${docker_build_command_new}" tools/ci_build/github/linux/run_dockerbuild.sh
46+
47+
# docker_run_command_new='$DOCKER_CMD run $RUNTIME --rm $DOCKER_RUN_PARAMETER -e http_proxy=${PROXY_HTTP} -e https_proxy=${PROXY_HTTPS} \\'
48+
# sed -i "/\$DOCKER_CMD run \$RUNTIME --rm \$DOCKER_RUN_PARAMETER/c${docker_run_command_new}" tools/ci_build/github/linux/run_dockerbuild.sh
49+
# shell: bash
50+
51+
- name: Running Internal CI
52+
run: |
53+
cd tools/ci_build/github/linux/
54+
dir
55+
./run_dockerbuild.sh -o ubuntu22.04 -p 3.10 -d openvino -v 2024.3.0 -x "--config Release --use_openvino CPU --build_wheel --build_shared_lib --parallel "

0 commit comments

Comments
 (0)