Skip to content

Commit 51ec60b

Browse files
authored
CI: Enable proxy cache in test and build-docs pipelines (#872)
1 parent 618181c commit 51ec60b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/build-docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ jobs:
5252
fetch-depth: 0
5353
ref: ${{ inputs.git-tag }}
5454

55-
# TODO: cache conda env to speed up the workflow once conda-incubator/setup-miniconda#267
56-
# is resolved
55+
- name: Setup proxy cache
56+
uses: nv-gha-runners/setup-proxy-cache@main
57+
continue-on-error: true
5758

5859
- name: Set up miniforge
5960
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0

.github/workflows/test-wheel-linux.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ jobs:
143143
with:
144144
fetch-depth: 0
145145

146+
- name: Setup proxy cache
147+
uses: nv-gha-runners/setup-proxy-cache@main
148+
continue-on-error: true
149+
146150
- name: Install dependencies
147151
uses: ./.github/actions/install_unix_deps
148152
continue-on-error: false

.github/workflows/test-wheel-windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ jobs:
8989
with:
9090
fetch-depth: 0
9191

92+
# TODO: use setup-proxy-cache once we have self-hosted Windows runners
93+
9294
- name: Update driver
9395
run: |
9496
.github/workflows/install_gpu_driver.ps1

0 commit comments

Comments
 (0)