-
Notifications
You must be signed in to change notification settings - Fork 3.1k
570 lines (501 loc) · 21.1 KB
/
mac_arm64.yml
File metadata and controls
570 lines (501 loc) · 21.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
name: macOS ARM64 (mac-15, Python 3.11)
on:
workflow_dispatch:
inputs:
target-branch:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
schedule:
# at 00:00 on workdays
- cron: '0 0 * * 1,2,3,4,5'
push:
paths-ignore:
- '**/docs/**'
- 'docs/**'
- '**/**.md'
- '**.md'
- '**/layer_tests_summary/**'
- '**/conformance/**'
branches:
- 'master'
- 'releases/**'
# pull_request:
# paths-ignore:
# - '**/docs/**'
# - 'docs/**'
# - '**/**.md'
# - '**.md'
# - '**/layer_tests_summary/**'
# - '**/conformance/**'
concurrency:
# github.ref is not unique in post-commit
group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-mac-arm64
cancel-in-progress: true
permissions: read-all
env:
PYTHON_VERSION: '3.11'
NODEJS_VERSION: '21'
MANIFEST_FILE: manifest.yml
PRODUCT_TYPE: public_macos_arm64_release
TARGET_BRANCH: ${{ inputs.target-branch || github.base_ref || github.event.merge_group.base_ref || github.ref }}
jobs:
Smart_CI:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false || github.run_attempt > 1
outputs:
affected_components: "${{ steps.smart_ci.outputs.affected_components }}"
skip_workflow: "${{ steps.smart_ci.outputs.skip_workflow }}"
steps:
- name: checkout action
uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries
timeout-minutes: 15
with:
sparse-checkout: .github/actions/smart-ci
- name: Get affected components
id: smart_ci
uses: ./.github/actions/smart-ci
with:
repository: ${{ github.repository }}
pr: ${{ github.event.number }}
commit_sha: ${{ github.sha }}
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
skip_when_only_listed_labels_set: 'docs'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg'
Build:
needs: Smart_CI
timeout-minutes: 150
defaults:
run:
shell: bash
runs-on: 'macos-15-xlarge'
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_GENERATOR: 'Ninja Multi-Config'
MACOSX_DEPLOYMENT_TARGET: '11.0'
CMAKE_CXX_COMPILER_LAUNCHER: ccache
CMAKE_C_COMPILER_LAUNCHER: ccache
OPENVINO_REPO: ${{ github.workspace }}/openvino
OPENVINO_CONTRIB_REPO: ${{ github.workspace }}/openvino_contrib
DEVELOPER_PACKAGE_DIR: ${{ github.workspace }}/developer_package_install
INSTALL_DIR: ${{ github.workspace }}/openvino_install
INSTALL_DIR_JS: ${{ github.workspace }}/openvino/src/bindings/js/node/bin
INSTALL_TEST_DIR: ${{ github.workspace }}/tests_install
INSTALL_WHEELS_DIR: ${{ github.workspace }}/install/wheels
BUILD_DIR: ${{ github.workspace }}/build
if: "!needs.smart_ci.outputs.skip_workflow"
steps:
- name: Clone OpenVINO
uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries
timeout-minutes: 15
with:
path: 'openvino'
submodules: 'true'
- name: Clone OpenVINO Contrib
uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries
timeout-minutes: 15
with:
repository: 'openvinotoolkit/openvino_contrib'
path: 'openvino_contrib'
ref: ${{ env.TARGET_BRANCH }}
#
# Print system info
#
- name: System info
uses: ./openvino/.github/actions/system_info
#
# Dependencies
#
- name: Install build dependencies
run: brew install coreutils ninja scons pigz
- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: ./openvino/.github/actions/setup_python
with:
version: ${{ env.PYTHON_VERSION }}
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
- name: Install python dependencies
run: |
# For Python API
python3 -m pip install -r ${{ env.OPENVINO_REPO }}/src/bindings/python/wheel/requirements-dev.txt
# For running ONNX frontend unit tests
python3 -m pip install --force-reinstall -r ${{ env.OPENVINO_REPO }}/src/frontends/onnx/tests/requirements.txt
# For running TensorFlow frontend unit tests
python3 -m pip install -r ${{ env.OPENVINO_REPO }}/src/frontends/tensorflow/tests/requirements.txt
# For running Paddle frontend unit tests
python3 -m pip install -r ${{ env.OPENVINO_REPO }}/src/frontends/paddle/tests/requirements.txt
- name: Setup NodeJS
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODEJS_VERSION }}
#
# Build
#
- name: Setup ccache
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
with:
max-size: "2000M"
# Should save cache only if run in the master branch of the base repo
# github.ref_name is 'ref/PR_#' in case of the PR, and 'branch_name' when executed on push
save: ${{ github.ref_name == 'master' && 'true' || 'false' }}
verbose: 2
key: ${{ runner.os }}-${{ runner.arch }}-main
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-main
- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
id: create_manifest
uses: ./openvino/.github/actions/create_manifest
with:
repos: |
${{ env.OPENVINO_REPO }}
${{ env.OPENVINO_CONTRIB_REPO }}
product_type: ${{ env.PRODUCT_TYPE }}
target_arch: ${{ runner.arch }}
build_type: 'release'
save_to: ${{ github.workspace }}/${{ env.MANIFEST_FILE }}
trigger_repo_branch: ${{ inputs.target-branch }}
- name: CMake configure
run: |
cmake \
-G "${{ env.CMAKE_GENERATOR }}" \
-DENABLE_NCC_STYLE=OFF \
-DENABLE_TESTS=ON \
-DENABLE_WHEEL=OFF \
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
-DENABLE_STRICT_DEPENDENCIES=OFF \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
- name: Cmake build - OpenVINO
run: cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
- name: Show ccache stats
run: ccache --show-stats
- name: Cmake install - OpenVINO
run: |
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_TEST_DIR }} -DCOMPONENT=tests -P ${{ env.BUILD_DIR }}/cmake_install.cmake
cmake -DCMAKE_INSTALL_PREFIX=${{ env.DEVELOPER_PACKAGE_DIR }} -DCOMPONENT=developer_package -P ${{ env.BUILD_DIR }}/cmake_install.cmake
- name: Pack openvino_developer_package
run: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/developer_package.tar.gz
working-directory: ${{ env.DEVELOPER_PACKAGE_DIR }}/developer_package
- name: Pack Artifacts
run: |
pushd ${{ env.INSTALL_DIR }}
tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_package.tar.gz
popd
pushd ${{ env.INSTALL_TEST_DIR }}
tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_tests.tar.gz
popd
# Setup additional Python versions for wheels building
- name: Setup Python 3.10
uses: ./openvino/.github/actions/setup_python
with:
version: "3.10"
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
- name: Setup Python 3.12
uses: ./openvino/.github/actions/setup_python
with:
version: "3.12"
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
- name: Setup Python 3.13
uses: ./openvino/.github/actions/setup_python
with:
version: "3.13"
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
- name: Setup Python 3.14t
uses: ./openvino/.github/actions/setup_python
with:
version: "3.14t"
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
allow-prereleases: 'true'
- name: Setup Python 3.14
uses: ./openvino/.github/actions/setup_python
with:
version: "3.14"
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
- name: Build additional Python wheels (3.10-3.14t)
run: |
for py_version in "3.10" "3.11" "3.12" "3.13" "3.14" "3.14t"
do
echo "Building Python API and wheels for Python ${py_version}"
python_exec_path=$(python$py_version -c "import sys; print(sys.executable)")
$python_exec_path -m pip install -r ${{ env.OPENVINO_REPO }}/src/bindings/python/wheel/requirements-dev.txt
echo "Using Python executable at: ${python_exec_path}"
if [[ $py_version == "3.14t" ]]; then
gil_option="-DENABLE_GIL_PYTHON_API=OFF"
else
gil_option=""
fi
cmake -DPython3_EXECUTABLE=$python_exec_path -DENABLE_WHEEL=ON $gil_option -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B ${{ github.workspace }}/py$py_version
cmake --build ${{ github.workspace }}/py$py_version --parallel
cmake --install ${{ github.workspace }}/py$py_version --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels
done
# Setup Python 3.11 as the default one
- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: ./openvino/.github/actions/setup_python
with:
version: ${{ env.PYTHON_VERSION }}
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
- name: Cmake & Build - OpenVINO Contrib
run: |
cmake \
-DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" \
-DOPENVINO_EXTRA_MODULES=${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
- name: CMake configure, build and install - OpenVINO JS API
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
run: |
cmake \
-DCPACK_GENERATOR=NPM \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc)
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR_JS }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
- name: Pack openvino_js_package
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
run: tar -cvf - * | pigz > ${BUILD_DIR}/openvino_js_package.tar.gz
working-directory: ${{ env.INSTALL_DIR_JS }}
- name: Pack openvino_node_npm_package
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
run: |
npm i
npm pack
tar -czvf ${BUILD_DIR}/openvino_node_npm_package.tar.gz bin openvino-node-*
working-directory: ${{ env.OPENVINO_REPO }}/src/bindings/js/node
#
# Upload build artifacts
#
- name: Upload OpenVINO package
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_package
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
if-no-files-found: 'error'
- name: Upload OpenVINO developer package
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_developer_package
path: ${{ env.BUILD_DIR }}/developer_package.tar.gz
if-no-files-found: 'error'
- name: Upload OpenVINO wheels
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_wheels
path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl
if-no-files-found: 'error'
- name: Upload OpenVINO tests package
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_tests
path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz
if-no-files-found: 'error'
- name: Upload OpenVINO js package
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_js_package
path: ${{ env.BUILD_DIR }}/openvino_js_package.tar.gz
if-no-files-found: 'error'
- name: Upload openvino-node NPM package
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_node_npm_package
path: ${{ env.BUILD_DIR }}/openvino_node_npm_package.tar.gz
if-no-files-found: 'error'
- name: Upload product manifest
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: openvino_package_manifest
path: ${{ github.workspace }}/${{ env.MANIFEST_FILE }}
if-no-files-found: 'error'
Samples:
needs: [ Build, Smart_CI ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_samples_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
JS_API:
name: OpenVINO JS API
needs: [ Build, Smart_CI ]
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API && (github.event_name != 'push' || github.ref_name != 'master')
uses: ./.github/workflows/job_openvino_js.yml
with:
runner: 'macos-15'
Openvino_tokenizers:
name: OpenVINO tokenizers extension
needs: [ Build, Smart_CI ]
uses: ./.github/workflows/job_tokenizers.yml
with:
runner: 'macos-15'
shell: bash
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
target-branch: ${{ inputs.target-branch }}
if: fromJSON(needs.smart_ci.outputs.affected_components).TOKENIZERS && (github.event_name != 'push' || github.ref_name != 'master')
CXX_Unit_Tests:
name: C++ unit tests
needs: [ Build, Smart_CI ]
uses: ./.github/workflows/job_cxx_unit_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
os: 'mac_13'
Python_Unit_Tests:
name: Python unit tests
needs: [ Build, Smart_CI ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_python_unit_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
Python_API_Tests:
name: Python API tests
needs: [ Build, Smart_CI ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_python_api_tests.yml
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t' ]
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: ${{ matrix.python-version }}
TensorFlow_Layer_Tests:
name: TensorFlow Layer Tests
needs: [ Build, Smart_CI, Openvino_tokenizers ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_tensorflow_layer_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
Pytorch_Layer_Tests:
name: Pytorch Layer Tests
needs: [ Build, Smart_CI ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_pytorch_layer_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
Pytorch_FX_Layer_Tests:
name: Pytorch FX Layer Tests
needs: [ Build, Smart_CI ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_pytorch_fx_layer_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
JAX_Layer_Tests:
name: JAX Layer Tests
needs: [ Build, Smart_CI ]
if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_jax_layer_tests.yml
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
CPU_Functional_Tests:
name: CPU functional tests
if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test && (github.event_name != 'push' || github.ref_name != 'master')
needs: [ Build, Smart_CI ]
uses: ./.github/workflows/job_cpu_functional_tests.yml
with:
runner: 'macos-15'
python-version: '3.11'
scope: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) && 'nightly' || 'smoke' }}
store_artifacts:
name: Store OpenVINO artifacts on a shared drive
timeout-minutes: 10
needs: [Build, Smart_CI]
defaults:
run:
shell: bash
runs-on: aks-linux-medium
container:
image: 'openvinogithubactions.azurecr.io/library/python:3.12-slim'
volumes:
- /mount:/mount
- ${{ github.workspace }}:${{ github.workspace }}
env:
OPENVINO_REPO: ${{ github.workspace }}/openvino
OPENVINO_CONTRIB_REPO: ${{ github.workspace }}/openvino_contrib
ARTIFACTS_DIR: ${{ github.workspace }}/artifacts
WHEELS_DIR: ${{ github.workspace }}/wheels
ARTIFACTS_SHARE: "/mount/build-artifacts"
steps:
- name: Checkout OpenVINO actions
uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries
timeout-minutes: 15
with:
sparse-checkout: |
.github/actions/common
.github/actions/store_artifacts
path: ${{ env.OPENVINO_REPO }}
- name: Download OpenVINO package
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openvino_package
path: ${{ env.ARTIFACTS_DIR }}
- name: Download OpenVINO developer package
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openvino_developer_package
path: ${{ env.ARTIFACTS_DIR }}
- name: Download OpenVINO JS package
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openvino_js_package
path: ${{ env.ARTIFACTS_DIR }}
- name: Download OpenVINO Node NPM package
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openvino_node_npm_package
path: ${{ env.ARTIFACTS_DIR }}
- name: Download OpenVINO package manifest
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openvino_package_manifest
path: ${{ env.ARTIFACTS_DIR }}
- name: Download OpenVINO wheels
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openvino_wheels
path: ${{ env.WHEELS_DIR }}
merge-multiple: true
- name: Store artifacts to a shared drive
id: store_artifacts
if: ${{ github.event_name != 'merge_group' }}
uses: ./openvino/.github/actions/store_artifacts
with:
artifacts: |
${{ env.ARTIFACTS_DIR }}/${{ env.MANIFEST_FILE }}
${{ env.ARTIFACTS_DIR }}/openvino_package.tar.gz
${{ env.ARTIFACTS_DIR }}/developer_package.tar.gz
${{ env.WHEELS_DIR }}
${{ fromJSON(needs.smart_ci.outputs.affected_components).JS_API && format('{0}/openvino_js_package.tar.gz', env.ARTIFACTS_DIR) || '' }}
${{ fromJSON(needs.smart_ci.outputs.affected_components).JS_API && format('{0}/openvino_node_npm_package.tar.gz', env.ARTIFACTS_DIR) || '' }}
storage_dir: ${{ env.PRODUCT_TYPE }}
storage_root: ${{ env.ARTIFACTS_SHARE }}
branch_name: ${{ inputs.target-branch }}