Show sccache stats at end of build

This commit is contained in:
Olivier 'reivilibre' 2021-11-14 16:16:34 +00:00
parent 3c5e34bf71
commit a2ca17f3f3
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ pipeline:
- DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev > /dev/null
- cargo build --all
- cargo test --all
- ls ~/.cache/sccache || :
- sccache --show-stats
environment:
RUSTC_WRAPPER: /usr/local/bin/sccache
@ -45,6 +44,7 @@ pipeline:
- python3.9 -m venv testsuite/.venv
- ./testsuite/.venv/bin/pip install -e testsuite -e datman-helper-postgres -e datman-helper-mysql
- cd testsuite && . .venv/bin/activate && TEST_POSTGRES=$(hostname),testsuitedb,root TEST_MYSQL=$(hostname),testsuitemydb,root green
- sccache --show-stats
environment:
RUSTC_WRAPPER: /usr/local/bin/sccache
SCCACHE_S3_USE_SSL: "true"