Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
pull_request:

merge_group:
push:
branches:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Documentation
on:
pull_request:
merge_group:

concurrency:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/clang_tidy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Clang-tidy static analysis (Ubuntu 24.04, Python 3.12, Clang-18, Clang-tidy-18)
on:
workflow_dispatch:
pull_request:
merge_group:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- 'master'
- 'releases/**'
pull_request:

paths:
- '.github/workflows/code_snippets.yml'
- 'docs/snippets/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Code Style
on: [pull_request, merge_group]
on: [merge_group]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/debian_10_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
pull_request:
merge_group:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev_cpu_linux_snippets_libxsmm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Linux CPU Plugin Snippets with LIBXSMM (Ubuntu 22.04)
on:
workflow_dispatch:
pull_request:

paths:
- '.github/workflows/dev_cpu_linux_snippets_libxsmm.yml'
- 'src/common/snippets/**'
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/fedora_29.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
pull_request:

merge_group:
push:
branches:
Expand Down Expand Up @@ -101,14 +101,14 @@ jobs:
target-branch: ${{ inputs.target-branch }}
cmake-options: >-
-G 'Ninja'
-DENABLE_CPPLINT=OFF
-DENABLE_NCC_STYLE=OFF
-DENABLE_INTEL_NPU=OFF
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
-DCPACK_GENERATOR=TGZ
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
-DENABLE_CPPLINT=OFF
-DENABLE_NCC_STYLE=OFF
-DENABLE_INTEL_NPU=OFF
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
-DCPACK_GENERATOR=TGZ
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
-DCMAKE_BUILD_TYPE=Release

RPM_Packages:
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.fedora_29 }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
os: 'fedora_29'

Overall_Status:
name: ci/gha_overall_status_fedora
needs: [Smart_CI, Build, CXX_Unit_Tests, RPM_Packages]
Expand Down
92 changes: 13 additions & 79 deletions .github/workflows/job_build_windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
on:
workflow_call:
inputs:
cache:
description: 'Whether to use caching for the build'
type: boolean
required: true
runner:
description: 'Machine on which the tests would run'
type: string
Expand Down Expand Up @@ -45,7 +49,7 @@ jobs:
CMAKE_BUILD_TYPE: ${{ inputs.build-type }}
CMAKE_CXX_COMPILER_LAUNCHER: ccache
CMAKE_C_COMPILER_LAUNCHER: ccache
CCACHE_REMOTE_DIR: C:\\mount\\caches\\ccache\\windows2022_x86_64_${{ inputs.build-type }}\\${{ inputs.target-branch }}
CCACHE_REMOTE_DIR: C:\\mount\\caches\\ccache\\staging\\windows2022_x86_64_${{ inputs.build-type }}\\${{ inputs.runner }}
CCACHE_DIR: ${{ github.workspace }}\\ccache
CCACHE_MAXSIZE: 3G
CCACHE_SLOPPINESS: pch_defines,time_macros
Expand Down Expand Up @@ -84,7 +88,7 @@ jobs:
pip-cache-path: ${{ env.PIP_CACHE_PATH }}
should-setup-pip-paths: 'true'
self-hosted-runner: 'true'

- name: Setup NodeJS
if: ${{ fromJSON(inputs.affected-components).JS_API }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
Expand Down Expand Up @@ -156,9 +160,10 @@ jobs:

- name: Setup ccache
uses: ./openvino/.github/actions/cache
if: ${{ inputs.cache }}
with:
save-always: ${{ github.event_name == 'push' && 'true' || 'false' }}
cleanup-always: ${{ github.event_name == 'push' && 'true' || 'false' }}
save-always: true
cleanup-always: true
cache-path: ${{ env.CCACHE_REMOTE_DIR }}
path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-${{ runner.arch }}-ccache-${{ github.sha }}
Expand All @@ -183,12 +188,14 @@ jobs:
Invoke-Expression $cmakeCommand

- name: Clean ccache stats
if: ${{ inputs.cache }}
run: '& ccache --zero-stats'

- name: Cmake build - OpenVINO
run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --parallel $ENV:NUMBER_OF_PROCESSORS --verbose

- name: Show ccache stats
if: ${{ inputs.cache }}
run: '& ccache --show-stats'

- name: Cmake install - OpenVINO
Expand Down Expand Up @@ -274,7 +281,7 @@ jobs:
DestinationPath = "${{ env.BUILD_DIR }}/developer_package.zip"
}
Compress-Archive @compress

$file=Get-ChildItem -Path "${{ env.INSTALL_TEST_DIR }}"
$compress = @{
Path = $file
Expand Down Expand Up @@ -320,7 +327,7 @@ jobs:
DestinationPath = "${{ env.BUILD_DIR }}/openvino_js_package.zip"
}
Compress-Archive @compress

- name: Pack openvino_node_npm_package
if: ${{ fromJSON(inputs.affected-components).JS_API }}
run: |
Expand All @@ -343,77 +350,4 @@ jobs:
-DENABLE_WHEEL=OFF
cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS

#
# Upload build artifacts and logs
#

- name: Upload OpenVINO package
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_package
path: ${{ env.BUILD_DIR }}/openvino_package.zip
if-no-files-found: 'error'

- name: Upload OpenVINO wheels
if: ${{ inputs.build-type != 'Debug' }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_wheels
path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl
if-no-files-found: 'error'

- name: Upload OpenVINO tests package
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_tests
path: ${{ env.BUILD_DIR }}/openvino_tests.zip
if-no-files-found: 'error'

- name: Upload OpenVINO developer package
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_developer_package
path: ${{ env.BUILD_DIR }}/developer_package.zip
if-no-files-found: 'error'

- name: Upload OpenVINO PDB package
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_pdb
path: ${{ env.BUILD_DIR }}/openvino_pdb.zip
if-no-files-found: 'error'

- name: Upload OpenVINO js package
if: ${{ fromJSON(inputs.affected-components).JS_API }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_js_package
path: ${{ env.BUILD_DIR }}/openvino_js_package.zip
if-no-files-found: 'error'

- name: Upload openvino-node NPM package
if: ${{ fromJSON(inputs.affected-components).JS_API }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_node_npm_package
path: ${{ env.BUILD_DIR }}/openvino_node_npm_package.zip
if-no-files-found: 'error'

- name: Store artifacts to a shared drive
id: store_artifacts
if: ${{ inputs.event-name != 'schedule' && inputs.event-name != 'merge_group' }}
uses: ./openvino/.github/actions/store_artifacts
with:
artifacts: |
${{ env.BUILD_DIR }}/openvino_package.zip
${{ env.BUILD_DIR }}/developer_package.zip
${{ env.BUILD_DIR }}/openvino_tests.zip
${{ env.MANIFEST_PATH }}
${{ fromJSON(inputs.affected-components).JS_API && format('{0}/openvino_js_package.zip', env.BUILD_DIR) || '' }}
${{ fromJSON(inputs.affected-components).JS_API && format('{0}/openvino_node_npm_package.zip', env.BUILD_DIR) || '' }}
${{ env.STORE_WHEELS == 'true' && format('{0}/wheels', env.INSTALL_WHEELS_DIR) || '' }}
storage_dir: ${{ env.PRODUCT_TYPE }}
storage_root: ${{ env.ARTIFACTS_SHARE }}
branch_name: ${{ inputs.target-branch }}
env:
STORE_WHEELS: ${{ inputs.build-type != 'Debug' }}
2 changes: 1 addition & 1 deletion .github/workflows/linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
pull_request:

merge_group:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_conditional_compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
pull_request:

merge_group:
push:
branches:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux_riscv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
pull_request:

merge_group:
push:
branches:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
skip_when_only_listed_labels_set: 'docs'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'

- name: Get target branch
id: set_target_branch
run: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:

- name: System info
uses: ./openvino/.github/actions/system_info

- name: Setup ccache
id: ccache_restore
uses: ./openvino/.github/actions/cache
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/linux_riscv_xuantie_dev_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
description: 'Filter for google tests {SMOKE | CONCISE}'
required: true
default: 'CONCISE'
pull_request:

paths:
- '.github/workflows/linux_riscv_xuantie_dev_cpu.yml'
- 'src/plugins/intel_cpu/src/emitters/plugin/aarch64/**'
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
skip_when_only_listed_labels_set: 'docs'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'

- name: Get target branch
id: set_target_branch
run: |
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

- name: System info
uses: ./openvino/.github/actions/system_info

- name: Setup ccache
id: ccache_restore
uses: ./openvino/.github/actions/cache
Expand All @@ -161,7 +161,7 @@ jobs:
#
- name: Clean ccache stats
run: ccache --zero-stats

- name: CMake - Configure
run: >
cmake -G "${{ env.CMAKE_GENERATOR }}"
Expand All @@ -188,37 +188,37 @@ jobs:
run: |
ccache --show-stats
ccache --cleanup

- name: Cmake install - OpenVINO
run: |
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }}
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_TEST_DIR }} --component tests
working-directory: ${{ env.BUILD_DIR }}

- name: Pack openvino_package
run: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_package.tar.gz
working-directory: ${{ env.INSTALL_DIR }}

- name: Pack openvino_tests
run: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_tests.tar.gz
working-directory: ${{ env.INSTALL_TEST_DIR }}

- name: Upload openvino package
if: ${{ always() }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_package
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
if-no-files-found: 'error'

- name: Upload openvino tests package
if: ${{ always() }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: openvino_tests
path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz
if-no-files-found: 'error'

CPU_Functional_Tests:
name: CPU functional tests
timeout-minutes: 30
Expand All @@ -242,19 +242,19 @@ jobs:
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}

- name: Download OpenVINO artifacts (tests)
uses: akashchi/download-artifact@d59a9c15fec3fdb7c9adf09464124d00f9c11415
with:
name: openvino_tests
path: ${{ env.INSTALL_DIR }}

- name: Extract OpenVINO packages and tests
run: |
pigz -dc openvino_package.tar.gz | tar -xvf - -C ${INSTALL_DIR}
pigz -dc openvino_tests.tar.gz | tar -xvf - -C ${INSTALL_DIR}
working-directory: ${{ env.INSTALL_DIR }}

- name: Intel CPU plugin func tests (parallel)
run: |
source ${{ env.INSTALL_DIR }}/setupvars.sh
Expand Down
Loading
Loading