This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 86491441ebc GH-51207: [CI][GPU] Improve compilation caching on CUDA CI
jobs (#51213)
86491441ebc is described below
commit 86491441ebca11b460588a8e01fcd70d60aee1c2
Author: Antoine Pitrou <[email protected]>
AuthorDate: Mon Sep 7 16:21:40 2026 +0200
GH-51207: [CI][GPU] Improve compilation caching on CUDA CI jobs (#51213)
### What changes are included in this PR?
Switch to apache/infrastructure-actions/stash for caching of compilation
results on CUDA CI jobs, instead of GHA's native caching, because the cache is
evicted too often using GHA native caching.
### Are these changes tested?
By existing CI jobs.
### Are there any user-facing changes?
No.
* GitHub Issue: #51207
Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
.github/workflows/cuda_extra.yml | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/cuda_extra.yml b/.github/workflows/cuda_extra.yml
index fedf672fb1b..ca5f5189573 100644
--- a/.github/workflows/cuda_extra.yml
+++ b/.github/workflows/cuda_extra.yml
@@ -105,12 +105,11 @@ jobs:
persist-credentials: false
fetch-depth: 0
submodules: recursive
- - name: Cache Docker Volumes
- uses: actions/cache@v6
+ - name: Restore Docker Volumes
+ uses:
apache/infrastructure-actions/stash/restore@ce952724eb5210790bd5d466d70d5d60ac3e6c21
with:
path: .docker
- key: extra-${{ matrix.image }}-${{ hashFiles('cpp/**') }}
- restore-keys: extra-${{ matrix.image }}-
+ key: extra-${{ matrix.image }}-${{ matrix.ubuntu }}-${{ matrix.cuda
}}
- name: Setup Python
uses: actions/setup-python@v7
with:
@@ -134,6 +133,14 @@ jobs:
sudo sysctl -w vm.mmap_rnd_bits=28
source ci/scripts/util_enable_core_dumps.sh
archery docker run ${{ matrix.run-options || '' }} ${{ matrix.image
}}
+ - name: Save Docker Volumes
+ if: ${{ !cancelled() }}
+ continue-on-error: true
+ uses:
apache/infrastructure-actions/stash/save@ce952724eb5210790bd5d466d70d5d60ac3e6c21
+ with:
+ path: .docker
+ key: extra-${{ matrix.image }}-${{ matrix.ubuntu }}-${{ matrix.cuda
}}
+ include-hidden-files: true
- name: Docker Push
if: >-
success() &&