Skip to content

Commit 493eb3e

Browse files
authored
Merge pull request #1125 from tlaurion/CircleCI_add_packages_to_all_cache_layers
CircleCI cache: have all cache layers caching packages directory.
2 parents 303dc26 + f6d049b commit 493eb3e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,24 +160,26 @@ jobs:
160160
paths:
161161
- crossgcc
162162
- build/musl-cross-38e52db8358c043ae82b346a2e6e66bc86a53bc1
163+
- packages
163164
- save_cache:
164165
#Generate cache for the same coreboot mnd musl-cross-make modules definition if hash is not previously existing
165166
#CircleCI removed their wildcard support, so we have to list precise versions to cache in directory names
166167
key: heads-coreboot-musl-cross-{{ checksum "./tmpDir/coreboot_musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
167168
paths:
169+
- crossgcc
170+
- build/musl-cross-38e52db8358c043ae82b346a2e6e66bc86a53bc1
171+
- packages
168172
- build/coreboot-4.11
169173
- build/coreboot-4.13
170174
- build/coreboot-4.14
171175
- build/coreboot-4.15
172-
- crossgcc
173-
- build/musl-cross-38e52db8358c043ae82b346a2e6e66bc86a53bc1
174176
- save_cache:
175177
#Generate cache for the exact same modules definitions if hash is not previously existing
176178
key: heads-modules-and-patches-{{ checksum "./tmpDir/all_modules_and_patches.sha256sums" }}{{ .Environment.CACHE_VERSION }}
177179
paths:
178-
- packages
179180
- crossgcc
180181
- build
182+
- packages
181183
- install
182184

183185
workflows:

0 commit comments

Comments
 (0)