Skip to content

Commit 24ef40b

Browse files
committed
cache
Signed-off-by: Anas Nashif <[email protected]>
1 parent f519ff7 commit 24ef40b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/twister.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,20 @@ jobs:
130130
export ZEPHYR_BASE=${PWD}
131131
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
132132
python3 ./scripts/twister --cmake-only -T samples/synchronization/ --outdir filter_cache
133+
cd filter_cache
134+
for d in `ls -1`; do
135+
mkdir -p cache/${d};
136+
cp $d/samples/synchronization/sample.kernel.synchronization/zephyr/{.config,edt.pickle,../CMakeCache.txt} cache/${d};
137+
done
138+
mv cache ../twister_cache
133139
- name: Upload Filter Cache
134140
if: always()
135141
uses: actions/upload-artifact@v4
136142
with:
137143
name: Filter Cache
138144
if-no-files-found: ignore
139145
path: |
140-
filter_cache
146+
twister_cache
141147
142148
twister-build:
143149
runs-on:

0 commit comments

Comments
 (0)