88
88
options : -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING -e DOCKER_CONFIG -v ${{ github.workspace }}:${{ github.workspace }}
89
89
env :
90
90
CMAKE_BUILD_TYPE : ' Release'
91
+ ARCH : ' x86_64'
91
92
OPENVINO_REPO : ${{ github.workspace }}/src
92
93
INSTALL_DIR : ${{ github.workspace }}/install/openvino
93
94
INSTALL_WHEELS_DIR : ${{ github.workspace }}/install/wheels
99
100
SCCACHE_SERVER_PORT : 35555
100
101
SCCACHE_CACHE_SIZE : 50G
101
102
SCCACHE_AZURE_KEY_PREFIX : manylinux_2014
103
+ ARTIFACTS_SHARE : " /mount/build-artifacts"
104
+ MANIFEST_PATH : ${{ github.workspace }}/manifest.yml
105
+ PRODUCT_TYPE : public_manylinux2014_x86_64_release
102
106
103
107
steps :
104
108
- name : Clone OpenVINO
@@ -109,6 +113,17 @@ jobs:
109
113
110
114
- name : System info
111
115
uses : ./src/.github/actions/system_info
116
+
117
+ - name : Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
118
+ id : create_manifest
119
+ uses : ./src/.github/actions/create_manifest
120
+ with :
121
+ repos : |
122
+ ${{ env.OPENVINO_REPO }}
123
+ product_type : ${{ env.PRODUCT_TYPE }}
124
+ target_arch : ${{ env.ARCH }}
125
+ build_type : ${{ env.CMAKE_BUILD_TYPE }}
126
+ save_to : ${{ env.MANIFEST_PATH }}
112
127
113
128
- name : Create docker build cache
114
129
run : |
@@ -128,6 +143,8 @@ jobs:
128
143
-e SCCACHE_AZURE_KEY_PREFIX \
129
144
-e CMAKE_CXX_COMPILER_LAUNCHER \
130
145
-e CMAKE_C_COMPILER_LAUNCHER \
146
+ -e CI_BUILD_NUMBER \
147
+ -e CI_BUILD_DEV_TAG \
131
148
-w /work/src \
132
149
${{ fromJSON(needs.docker.outputs.images).ov_build.manylinux2014_x86_64 }} \
133
150
/bin/bash -c "
@@ -158,6 +175,8 @@ jobs:
158
175
-e SCCACHE_AZURE_KEY_PREFIX \
159
176
-e CMAKE_CXX_COMPILER_LAUNCHER \
160
177
-e CMAKE_C_COMPILER_LAUNCHER \
178
+ -e CI_BUILD_NUMBER \
179
+ -e CI_BUILD_DEV_TAG \
161
180
-w /work/src \
162
181
${{ fromJSON(needs.docker.outputs.images).ov_build.manylinux2014_x86_64 }} \
163
182
/bin/bash -c "
@@ -188,4 +207,30 @@ jobs:
188
207
with :
189
208
name : openvino_wheels
190
209
path : ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl
191
- if-no-files-found : ' error'
210
+ if-no-files-found : ' error'
211
+
212
+ - name : Store artifacts to a shared drive
213
+ id : store_artifacts
214
+ if : ${{ always() }}
215
+ uses : ./src/.github/actions/store_artifacts
216
+ with :
217
+ artifacts : |
218
+ ${{ env.BUILD_DIR }}/openvino_package.tar.gz
219
+ ${{ env.MANIFEST_PATH }}
220
+ ${{ env.INSTALL_WHEELS_DIR }}/wheels
221
+ storage_dir : ${{ env.PRODUCT_TYPE }}
222
+ storage_root : ${{ env.ARTIFACTS_SHARE }}
223
+
224
+ Overall_Status :
225
+ name : ci/gha_overall_status_manylinux2014
226
+ needs : [Smart_CI, Build]
227
+ if : ${{ always() }}
228
+ runs-on : ubuntu-latest
229
+ steps :
230
+ - name : Check status of all jobs
231
+ if : >-
232
+ ${{
233
+ contains(needs.*.result, 'failure') ||
234
+ contains(needs.*.result, 'cancelled')
235
+ }}
236
+ run : exit 1
0 commit comments