Skip to content

Commit 0a95001

Browse files
Github actions for triggering Internal CI
1 parent e8f1d73 commit 0a95001

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/internal_ci.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name : Internal CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**' # Triggers on a PR to any branch
7+
8+
jobs:
9+
build:
10+
11+
runs-on: [self-hosted, Linux, X64] # Runs on a Lunar lake
12+
env:
13+
BUILD_SOURCESDIRECTORY: ${{ github.workspace }}
14+
BUILD_BINARIESDIRECTORY: ${{ github.workspace }}/build
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
ref: ${{ github.event.pull_request.head.ref }} # checkout the pr branch
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.10'
24+
25+
- name: Create build directory
26+
run: |
27+
mkdir -p ${{ env.BUILD_BINARIESDIRECTORY }}
28+
chmod -R 777 ${{ env.BUILD_BINARIESDIRECTORY }}
29+
30+
- name: Running Internal CI # Trigger Internal CI on the pr branch
31+
run: |
32+
cd tools/ci_build/github/linux/
33+
dir
34+
./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)