ci/circle: drop runner architecture from cache keys
Cf. koreader/koreader-base#2330.
This commit is contained in:
1 parent
8c481707a2
commit
5ffbbd84be
1 file changed
+4
-4
@@ -7,7 +7,7 @@ parameters:
|
||||
# Bump this to reset all caches.
|
||||
cache_epoch:
|
||||
type: integer
|
||||
default: 2
|
||||
default: 3
|
||||
|
||||
# }}}
|
||||
|
||||
@@ -59,12 +59,12 @@ jobs:
|
||||
- restore_cache:
|
||||
name: Restore build directory
|
||||
keys:
|
||||
- &CACHE_KEY_BUILD_DIR '<< pipeline.parameters.cache_epoch >>-{{ .Environment.CIRCLE_JOB }}-build-{{ arch }}-{{ checksum "cache-key" }}'
|
||||
- &CACHE_KEY_BUILD_DIR '<< pipeline.parameters.cache_epoch >>-{{ .Environment.CIRCLE_JOB }}-build-{{ checksum "cache-key" }}'
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- &CACHE_KEY_BUILD_CACHE '<< pipeline.parameters.cache_epoch >>-{{ .Environment.CIRCLE_JOB }}-ccache-{{ arch }}-{{ checksum "cache-key" }}'
|
||||
- '<< pipeline.parameters.cache_epoch >>-{{ .Environment.CIRCLE_JOB }}-ccache-{{ arch }}-'
|
||||
- &CACHE_KEY_BUILD_CACHE '<< pipeline.parameters.cache_epoch >>-{{ .Environment.CIRCLE_JOB }}-ccache-{{ checksum "cache-key" }}'
|
||||
- '<< pipeline.parameters.cache_epoch >>-{{ .Environment.CIRCLE_JOB }}-ccache-'
|
||||
- run:
|
||||
name: Setup build cache
|
||||
command: |
|
||||
|
||||
Reference in new issue
Block a user