File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,23 @@ 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+ test -f $d/samples/synchronization/sample.kernel.synchronization/zephyr/.config && \
137+ cp $d/samples/synchronization/sample.kernel.synchronization/zephyr/.config cache/${d} && \
138+ cp $d/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle cache/${d} && \
139+ cp $d/samples/synchronization/sample.kernel.synchronization/CMakeCache.txt cache/${d};
140+ done
141+ mv cache ../twister_cache
133142 - name : Upload Filter Cache
134143 if : always()
135144 uses : actions/upload-artifact@v4
136145 with :
137- name : Filter Cache
146+ name : filter_cache
138147 if-no-files-found : ignore
139148 path : |
140- filter_cache
149+ twister_cache
141150
142151 twister-build :
143152 runs-on :
@@ -252,7 +261,7 @@ jobs:
252261 - if : github.event_name == 'push'
253262 name : Run Tests with Twister (Push)
254263 run : |
255- ls -la filter_cache
264+ ls -lR filter_cache
256265 export ZEPHYR_BASE=${PWD}
257266 export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
258267 ./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${PUSH_OPTIONS}
You can’t perform that action at this time.
0 commit comments