From 2eae6062fba9d85d364150329483c088bc2db8d8 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 21 Mar 2024 14:25:55 +0000 Subject: [PATCH] [CI] [GHA] Remove usage of the `SimenB/github-actions-cpu-cores` action (#23583) ### Details: - The action does not have a License. - `cmake` should figure out the # of cores for parallel. --- .github/workflows/code_snippets.yml | 6 +----- .github/workflows/coverage.yml | 6 ------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/code_snippets.yml b/.github/workflows/code_snippets.yml index 856f85afa29961..f5a0d86970616b 100644 --- a/.github/workflows/code_snippets.yml +++ b/.github/workflows/code_snippets.yml @@ -39,9 +39,5 @@ jobs: - name: CMake configure run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -B build - - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2 - id: cpu-cores - - name: Build snippets - run: cmake --build build --target openvino_docs_snippets --parallel ${{ steps.cpu-cores.outputs.count }} + run: cmake --build build --target openvino_docs_snippets --parallel diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 23135222f0214c..73427f6871b75c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -54,10 +54,6 @@ jobs: python3 -m pip install -r ${{ github.workspace }}/tools/mo/requirements_tf2.txt python3 -m pip install -r ${{ github.workspace }}/tools/mo/requirements_dev.txt - - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2 - id: cpu-cores - - name: Build OpenVINO with CMake uses: ashutoshvarma/action-cmake-build@master with: @@ -81,7 +77,6 @@ jobs: -DCMAKE_CXX_LINKER_LAUNCHER=ccache -DENABLE_SYSTEM_SNAPPY=ON build-type: Release - parallel: ${{ steps.cpu-cores.outputs.count }} - name: Install wheel packages run: cmake -DCOMPONENT=python_wheels -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install_pkg -P '${{ github.workspace }}/build/cmake_install.cmake' @@ -129,7 +124,6 @@ jobs: -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_LINKER_LAUNCHER=ccache -DCMAKE_CXX_LINKER_LAUNCHER=ccache - parallel: ${{ steps.cpu-cores.outputs.count }} - name: Print info