Skip to content

Commit f62df8c

Browse files
authored
ci: cache less of llvm (#102)
Changes: - Only cache the build artifacts of LLVM that we actually use to build the wheels - This means a ~9x reduction in cache usage for windows and ~3x for linux <img width="1067" height="317" alt="Screenshot 2025-12-11 at 09 34 31" src="https://github.com/user-attachments/assets/dbafabff-9c28-4fa6-a23e-5a287590f91d" /> Link to PR: Arm-Debug/vgf-adapter-model-explorer#102
1 parent 595c5dc commit f62df8c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/build-wheel/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ runs:
120120
uses: actions/cache@v4
121121
id: cache-llvm
122122
with:
123-
path: c/dependencies/llvm-project/b
123+
path: |
124+
c/dependencies/llvm-project/b/tools/mlir/python_packages
125+
c/dependencies/llvm-project/b/tools/mlir/python
126+
c/dependencies/llvm-project/b/bin
127+
124128
key: llvm-${{ steps.dep-revisions.outputs.llvm-ref }}-${{ runner.os }}-${{ runner.arch }}-${{ inputs.python-version }}
125129

126130
- name: Build LLVM

0 commit comments

Comments
 (0)