Skip to content

Commit

Permalink
ci: Clean the capability cache when the ccache is cleaned
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
SebastianBoe authored and Anas Nashif committed May 14, 2018
1 parent 1b038f2 commit e15a492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e15a492

Please sign in to comment.