Skip to content

Commit

Permalink
Merge pull request #9 from mryzhov/ci_improvements
Browse files Browse the repository at this point in the history
[CI] Improvements
  • Loading branch information
mryzhov authored Feb 8, 2024
2 parents f13718b + 626f962 commit 8cd0c0c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:

- name: Upload openvino package
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openvino_package
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
Expand All @@ -149,7 +149,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: ubuntu-20.04-4-cores
runs-on: ubuntu-20.04

env:
OPENVINO_REPO: ${{ github.workspace }}/openvino
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
cache: 'pip'

- name: Download OpenVINO package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}
Expand Down Expand Up @@ -214,15 +214,15 @@ jobs:
CMAKE_ARGS: '-DBUILD_FAST_TOKENIZERS=OFF'
CMAKE_BUILD_PARALLEL_LEVEL: '4'
CMAKE_GENERATOR: 'Unix Makefiles'
SKBUILD_WHEEL_BUILD_TAG: ${{github.run_attempt}}
SKBUILD_WHEEL_BUILD_TAG: ${{ github.run_number }}

#
# Upload build artifacts
#

- name: Upload openvino tokenizers wheel
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openvino_tokenizers_wheel
path: ${{ env.BUILD_DIR }}/*.whl
Expand Down Expand Up @@ -256,13 +256,13 @@ jobs:
cache: 'pip'

- name: Download tokenizers package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_tokenizers_wheel
path: ${{ env.INSTALL_DIR }}/ov_tokenizers

- name: Download OpenVINO package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}
Expand Down Expand Up @@ -297,4 +297,5 @@ jobs:
- name: Tokenizers regression tests
run: |
python3 -m pytest tokenizers_test.py
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}/tests
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}/tests

12 changes: 6 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:

- name: Upload openvino package
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openvino_package
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
cache: 'pip'

- name: Download OpenVINO package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}
Expand Down Expand Up @@ -203,15 +203,15 @@ jobs:
env:
CMAKE_ARGS: '-DBUILD_FAST_TOKENIZERS=OFF'
CMAKE_BUILD_PARALLEL_LEVEL: '4'
SKBUILD_WHEEL_BUILD_TAG: ${{ github.run_attempt }}
SKBUILD_WHEEL_BUILD_TAG: ${{ github.run_number }}

#
# Upload build artifacts
#

- name: Upload openvino tokenizers wheel
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openvino_tokenizers_wheel
path: ${{ env.BUILD_DIR }}/*.whl
Expand Down Expand Up @@ -245,13 +245,13 @@ jobs:
cache: 'pip'

- name: Download tokenizers package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_tokenizers_wheel
path: ${{ env.INSTALL_DIR }}/ov_tokenizers

- name: Download OpenVINO package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:

- name: Upload openvino package
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openvino_package
path: ${{ env.BUILD_DIR }}/openvino_package.zip
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
cache: 'pip'

- name: Download OpenVINO package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}
Expand Down Expand Up @@ -207,15 +207,15 @@ jobs:
env:
CMAKE_ARGS: '-DBUILD_FAST_TOKENIZERS=OFF'
CMAKE_BUILD_PARALLEL_LEVEL: '4'
SKBUILD_WHEEL_BUILD_TAG: ${{github.run_attempt}}
SKBUILD_WHEEL_BUILD_TAG: ${{ github.run_number }}

#
# Upload build artifacts
#

- name: Upload openvino tokenizers wheel
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openvino_tokenizers_wheel
path: ${{ env.BUILD_DIR }}/*.whl
Expand Down Expand Up @@ -249,13 +249,13 @@ jobs:
cache: 'pip'

- name: Download tokenizers package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_tokenizers_wheel
path: ${{ env.INSTALL_DIR }}\\ov_tokenizers

- name: Download OpenVINO package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openvino_package
path: ${{ env.INSTALL_DIR }}
Expand Down

0 comments on commit 8cd0c0c

Please sign in to comment.