Skip to content

Commit 5c00d99

Browse files
committed
ci: Add '-specs' to ccache ignore option list
`-specs=` is an alternate form of `--specs=`, which is now used by the Zephyr build system. This commit adds `-specs=*` to the ccache ignore option list because, as with `--specs=*`, ccache is unable to resolve the toolchain specs file path and refuses to cache when this option is specified. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent b9fc4cc commit 5c00d99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
CCACHE_REMOTE_STORAGE: "redis://cache-*.keydb-cache.svc.cluster.local|shards=1,2,3"
3535
CCACHE_REMOTE_ONLY: "true"
3636
# `--specs` is ignored because ccache is unable to resovle the toolchain specs file path.
37-
CCACHE_IGNOREOPTIONS: '--specs=*'
37+
CCACHE_IGNOREOPTIONS: '-specs=* --specs=*'
3838
steps:
3939
- name: Apply container owner mismatch workaround
4040
run: |

.github/workflows/twister.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
CCACHE_REMOTE_STORAGE: "redis://cache-*.keydb-cache.svc.cluster.local|shards=1,2,3"
143143
CCACHE_REMOTE_ONLY: "true"
144144
# `--specs` is ignored because ccache is unable to resolve the toolchain specs file path.
145-
CCACHE_IGNOREOPTIONS: '--specs=*'
145+
CCACHE_IGNOREOPTIONS: '-specs=* --specs=*'
146146
BSIM_OUT_PATH: /opt/bsim/
147147
BSIM_COMPONENTS_PATH: /opt/bsim/components
148148
TWISTER_COMMON: ' --force-color --inline-logs -v -N -M --retry-failed 3 --timeout-multiplier 2 '

0 commit comments

Comments
 (0)