ci: increase ccache size
We are running 5 minions with almost 2000 tests, increase the cache size to increase the hit rate. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fac7108ecc
commit
386b3e6d54
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ build:
|
||||||
git rebase origin/${PULL_REQUEST_BASE_BRANCH};
|
git rebase origin/${PULL_REQUEST_BASE_BRANCH};
|
||||||
fi
|
fi
|
||||||
- source zephyr-env.sh
|
- source zephyr-env.sh
|
||||||
- ccache -c -s --max-size=2000M
|
- ccache -c -s --max-size=5000M
|
||||||
- >
|
- >
|
||||||
if [ "$MATRIX_BUILD" = "5" -a "$IS_PULL_REQUEST" = "true" ]; then
|
if [ "$MATRIX_BUILD" = "5" -a "$IS_PULL_REQUEST" = "true" ]; then
|
||||||
export COMMIT_RANGE=origin/${PULL_REQUEST_BASE_BRANCH}..HEAD
|
export COMMIT_RANGE=origin/${PULL_REQUEST_BASE_BRANCH}..HEAD
|
||||||
|
@ -105,7 +105,7 @@ build:
|
||||||
if [ "$MATRIX_BUILD" = "1" ]; then
|
if [ "$MATRIX_BUILD" = "1" ]; then
|
||||||
gcovr -r ${ZEPHYR_BASE} -x > shippable/codecoverage/coverage.xml;
|
gcovr -r ${ZEPHYR_BASE} -x > shippable/codecoverage/coverage.xml;
|
||||||
lcov --capture --directory sanity-out/native_posix/ --directory sanity-out/unit_testing/ --output-file lcov.pre.info -q --rc lcov_branch_coverage=1;
|
lcov --capture --directory sanity-out/native_posix/ --directory sanity-out/unit_testing/ --output-file lcov.pre.info -q --rc lcov_branch_coverage=1;
|
||||||
lcov -q --remove lcov.pre.info *generated* -o lcov.info --rc lcov_branch_coverage=1;
|
lcov -q --remove lcov.pre.info mylib.c --remove lcov.pre.info ext/\* --remove lcov.pre.info *generated* -o lcov.info --rc lcov_branch_coverage=1;
|
||||||
rm lcov.pre.info;
|
rm lcov.pre.info;
|
||||||
rm -rf sanity-out out-2nd-pass;
|
rm -rf sanity-out out-2nd-pass;
|
||||||
bash <(curl -s https://codecov.io/bash) -f "lcov.info" -X coveragepy -X fixes;
|
bash <(curl -s https://codecov.io/bash) -f "lcov.info" -X coveragepy -X fixes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue