|
77 | 77 | INSTALL_DIR: ${{ github.workspace }}/openvino_install
|
78 | 78 | INSTALL_DIR_JS: ${{ github.workspace }}/openvino_install/js
|
79 | 79 | INSTALL_TEST_DIR: ${{ github.workspace }}/tests_install
|
| 80 | + INSTALL_WHEELS_DIR: ${{ github.workspace }}/install/wheels |
80 | 81 | BUILD_DIR: ${{ github.workspace }}/build
|
81 | 82 | if: "!needs.smart_ci.outputs.skip_workflow"
|
82 | 83 | steps:
|
@@ -104,7 +105,7 @@ jobs:
|
104 | 105 | #
|
105 | 106 |
|
106 | 107 | - name: Install build dependencies
|
107 |
| - run: brew install coreutils ninja scons |
| 108 | + run: brew install coreutils ninja scons pigz |
108 | 109 |
|
109 | 110 | - name: Setup Python ${{ env.PYTHON_VERSION }}
|
110 | 111 | uses: ./openvino/.github/actions/setup_python
|
@@ -167,16 +168,15 @@ jobs:
|
167 | 168 | run: |
|
168 | 169 | cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
|
169 | 170 | cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_TEST_DIR }} -DCOMPONENT=tests -P ${{ env.BUILD_DIR }}/cmake_install.cmake
|
170 |
| - cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCOMPONENT=python_wheels -P ${{ env.BUILD_DIR }}/cmake_install.cmake |
| 171 | + cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_WHEELS_DIR }} -DCOMPONENT=python_wheels -P ${{ env.BUILD_DIR }}/cmake_install.cmake |
171 | 172 |
|
172 | 173 | - name: Pack Artifacts
|
173 | 174 | run: |
|
174 | 175 | pushd ${{ env.INSTALL_DIR }}
|
175 |
| - tar -I pigz -cvf ${{ env.BUILD_DIR }}/openvino_package.tar.gz * |
| 176 | + tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_package.tar.gz |
176 | 177 | popd
|
177 |
| -
|
178 | 178 | pushd ${{ env.INSTALL_TEST_DIR }}
|
179 |
| - tar -I pigz -cvf ${{ env.BUILD_DIR }}/openvino_tests.tar.gz * |
| 179 | + tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_tests.tar.gz |
180 | 180 | popd
|
181 | 181 |
|
182 | 182 | - name: Cmake & Build - OpenVINO Contrib
|
@@ -210,6 +210,13 @@ jobs:
|
210 | 210 | name: openvino_package
|
211 | 211 | path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
|
212 | 212 | if-no-files-found: 'error'
|
| 213 | + |
| 214 | + - name: Upload openvino wheels |
| 215 | + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 |
| 216 | + with: |
| 217 | + name: openvino_wheels |
| 218 | + path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl |
| 219 | + if-no-files-found: 'error' |
213 | 220 |
|
214 | 221 | - name: Upload openvino tests package
|
215 | 222 | if: ${{ always() }}
|
|
0 commit comments