Skip to content

Commit 9fc71f6

Browse files
committed
return download via an action for nix
1 parent c53d0f0 commit 9fc71f6

File tree

6 files changed

+85
-2
lines changed

6 files changed

+85
-2
lines changed

.github/workflows/job_cxx_unit_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,20 @@ jobs:
7575
Expand-Archive openvino_tests.zip -DestinationPath . -Verbose
7676
popd
7777
78+
- name: Download OpenVINO artifacts (package)
79+
if: runner.os != 'Windows'
80+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
81+
with:
82+
name: openvino_package
83+
path: ${{ env.INSTALL_DIR }}
84+
85+
- name: Download OpenVINO artifacts (tests)
86+
if: runner.os != 'Windows'
87+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
88+
with:
89+
name: openvino_tests
90+
path: ${{ env.INSTALL_DIR }}
91+
7892
- name: Extract OpenVINO packages (Unix)
7993
if: ${{ runner.os != 'Windows' }}
8094
run: |

.github/workflows/job_jax_layer_tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,21 @@ jobs:
8787
- name: Install OpenVINO dependencies (mac)
8888
if: runner.os == 'macOS'
8989
run: brew install pigz
90-
90+
91+
- name: Download OpenVINO artifacts (wheels)
92+
if: runner.os != 'Windows'
93+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
94+
with:
95+
name: openvino_wheels
96+
path: ${{ env.INSTALL_DIR }}
97+
98+
- name: Download OpenVINO artifacts (tests)
99+
if: runner.os != 'Windows'
100+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
101+
with:
102+
name: openvino_tests
103+
path: ${{ env.INSTALL_DIR }}
104+
91105
- name: Extract OpenVINO packages (Linux, macOS)
92106
if: runner.os != 'Windows'
93107
run: pigz -dc openvino_tests.tar.gz | tar -xf - -v

.github/workflows/job_pytorch_fx_layer_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,20 @@ jobs:
8787
if: runner.os == 'macOS'
8888
run: brew install pigz
8989

90+
- name: Download OpenVINO artifacts (wheels)
91+
if: runner.os != 'Windows'
92+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
93+
with:
94+
name: openvino_wheels
95+
path: ${{ env.INSTALL_DIR }}
96+
97+
- name: Download OpenVINO artifacts (tests)
98+
if: runner.os != 'Windows'
99+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
100+
with:
101+
name: openvino_tests
102+
path: ${{ env.INSTALL_DIR }}
103+
90104
- name: Extract OpenVINO packages (Linux, macOS)
91105
if: runner.os != 'Windows'
92106
run: pigz -dc openvino_tests.tar.gz | tar -xf - -v

.github/workflows/job_pytorch_layer_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,20 @@ jobs:
8787
if: runner.os == 'macOS'
8888
run: brew install pigz
8989

90+
- name: Download OpenVINO artifacts (wheels)
91+
if: runner.os != 'Windows'
92+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
93+
with:
94+
name: openvino_wheels
95+
path: ${{ env.INSTALL_DIR }}
96+
97+
- name: Download OpenVINO artifacts (tests)
98+
if: runner.os != 'Windows'
99+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
100+
with:
101+
name: openvino_tests
102+
path: ${{ env.INSTALL_DIR }}
103+
90104
- name: Extract OpenVINO packages (Linux, macOS)
91105
if: runner.os != 'Windows'
92106
run: pigz -dc openvino_tests.tar.gz | tar -xf - -v

.github/workflows/job_tensorflow_layer_tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,21 @@ jobs:
8787
- name: Install OpenVINO dependencies (mac)
8888
if: ${{ runner.os == 'macOS' }}
8989
run: brew install pigz
90-
90+
91+
- name: Download OpenVINO artifacts (wheels)
92+
if: runner.os != 'Windows'
93+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
94+
with:
95+
name: openvino_wheels
96+
path: ${{ env.INSTALL_DIR }}
97+
98+
- name: Download OpenVINO artifacts (tests)
99+
if: runner.os != 'Windows'
100+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
101+
with:
102+
name: openvino_tests
103+
path: ${{ env.INSTALL_DIR }}
104+
91105
- name: Extract OpenVINO packages (Linux, macOS)
92106
if: ${{ runner.os != 'Windows' }}
93107
run: pigz -dc openvino_tests.tar.gz | tar -xf - -v

.github/workflows/job_tokenizers.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,20 @@ jobs:
9090
should-setup-pip-paths: ${{ runner.os != 'macOS' }}
9191
self-hosted-runner: ${{ runner.os != 'macOS' }}
9292

93+
- name: Download OpenVINO artifacts (wheels) (Win)
94+
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
95+
if: runner.os == 'Windows'
96+
with:
97+
timeout_minutes: 5
98+
max_attempts: 2
99+
command: |
100+
# Add `gh` to PATH
101+
$env:GH_TOKEN = "${{ github.token }}"
102+
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
103+
gh run download "$env:GITHUB_RUN_ID" --repo "$env:GITHUB_REPOSITORY" -n openvino_wheels --dir ${{ env.INSTALL_WHEELS_DIR }}
104+
93105
- name: Download OpenVINO artifacts (wheels)
106+
if: runner.os != 'Windows'
94107
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
95108
with:
96109
name: openvino_wheels

0 commit comments

Comments
 (0)