ci: Clean the capability cache when the ccache is cleaned

Clear the toolchain capability cache when ccache is cleared so that
the different host-side caching mechanisms have a similair lifetime.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-05-14 15:31:29 +02:00 committed by Anas Nashif
commit e15a4923e8

View file

@ -72,7 +72,7 @@ build:
- rm test_file.txt
- ccache -s
on_failure:
- rm -rf ccache
- rm -rf ccache $HOME/.cache/zephyr
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- source zephyr-env.sh
@ -97,7 +97,7 @@ build:
cp ./scripts/sanity_chk/last_sanity.xml shippable/testresults/;
fi;
on_success:
- rm -rf ccache
- rm -rf ccache $HOME/.cache/zephyr
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- source zephyr-env.sh