Skip to content

Commit d053a40

Browse files
authored
[CI] [GHA] [WIN] Separately build contrib, use Python 3.11 as the default one after building additional wheels (#29273)
### Tickets: - *163282* - *163283*
1 parent ae85530 commit d053a40

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.github/workflows/job_build_windows.yml

+16
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,15 @@ jobs:
264264
}
265265
Compress-Archive @compress
266266
267+
# Setup Python 3.11 as the default one
268+
- name: Setup Python ${{ env.PYTHON_VERSION }}
269+
uses: ./openvino/.github/actions/setup_python
270+
with:
271+
version: ${{ env.PYTHON_VERSION }}
272+
pip-cache-path: ${{ env.PIP_CACHE_PATH }}
273+
should-setup-pip-paths: 'true'
274+
self-hosted-runner: 'true'
275+
267276
- name: CMake configure, build and install - OpenVINO JS API
268277
if: ${{ fromJSON(inputs.affected-components).JS_API }}
269278
run: |
@@ -285,6 +294,13 @@ jobs:
285294
}
286295
Compress-Archive @compress
287296
297+
- name: Cmake & Build - OpenVINO Contrib
298+
run: |
299+
cmake -DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" -S ${{ env.OPENVINO_REPO }} -B ${{ env.BUILD_DIR }} `
300+
-DOPENVINO_EXTRA_MODULES="${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations;${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api" `
301+
-DENABLE_WHEEL=OFF
302+
cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS
303+
288304
#
289305
# Upload build artifacts and logs
290306
#

.github/workflows/windows_vs2022_debug.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ jobs:
6565
-DENABLE_TESTS=ON `
6666
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON `
6767
-DENABLE_STRICT_DEPENDENCIES=OFF `
68-
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON `
69-
-DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" `
70-
-DOPENVINO_EXTRA_MODULES="${env:OPENVINO_CONTRIB_REPO }}/modules/custom_operations;${env:OPENVINO_CONTRIB_REPO}/modules/java_api"
68+
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON
7169
7270
CXX_Unit_Tests:
7371
name: C++ unit tests

.github/workflows/windows_vs2022_release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ jobs:
6969
-DENABLE_TESTS=ON `
7070
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON `
7171
-DENABLE_STRICT_DEPENDENCIES=OFF `
72-
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON `
73-
-DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" `
74-
-DOPENVINO_EXTRA_MODULES="${env:OPENVINO_CONTRIB_REPO}/modules/custom_operations;${env:OPENVINO_CONTRIB_REPO}/modules/java_api"
72+
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON
7573
7674
Samples:
7775
needs: [ Build, Smart_CI ]

0 commit comments

Comments
 (0)