Fix sccache statistics (#11145)

* Fix sccache statictics

* warning update for non x86_64 architectures

* sccache -s -> sccache --show-stats
This commit is contained in:
Denis S. Soldatov aka General-Beck 2019-10-08 21:58:34 +03:00 committed by GitHub
parent f48780c29b
commit 11c447dfbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View File

@ -63,35 +63,35 @@ cargo-check 0 3:
<<: *docker-cache-status
script:
- time cargo check --target $CARGO_TARGET --locked --no-default-features --verbose --color=always
- sccache --stop-server
- sccache --show-stats
cargo-check 1 3:
stage: test
<<: *docker-cache-status
script:
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --no-default-features --verbose --color=always
- sccache --stop-server
- sccache --show-stats
cargo-check 2 3:
stage: test
<<: *docker-cache-status
script:
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --features "mio" --verbose --color=always
- sccache --stop-server
- sccache --show-stats
cargo-check-evmbin:
stage: test
<<: *docker-cache-status
script:
- time cargo check -p evmbin --target $CARGO_TARGET --locked --verbose --color=always
- sccache -s
- sccache --show-stats
cargo-check-benches:
stage: test
<<: *docker-cache-status
script:
- time cargo check --all --benches --target $CARGO_TARGET --locked --verbose --color=always
- sccache -s
- sccache --show-stats
cargo-audit:
stage: test

View File

@ -54,8 +54,8 @@ do
then
./parity tools hash $binary > $binary.sha3
else
echo "> ${binary} cannot be hashed with cross-compiled binary (keccak256)"
echo ">[WARN] ${binary} cannot be hashed with cross-compiled binary (keccak256)"
fi
done
#show sccache statistics
sccache --stop-server
sccache --show-stats

View File

@ -18,4 +18,4 @@ make VERBOSE=1 -j $THREADS
cd -
rm -rf $DIR
#show sccache statistics
sccache --stop-server
sccache --show-stats

View File

@ -21,4 +21,4 @@ echo "________Running Parity Full Test Suite________"
CARGO_INCREMENTAL=0 RUSTFLAGS="-C opt-level=3 -C overflow-checks=on -C debuginfo=2 -Ctarget-feature=+aes,+sse2,+ssse3" time cargo test $OPTIONS --features "$FEATURES" --locked --all --target $CARGO_TARGET --verbose --color=never -- --test-threads $THREADS
#show sccache statistics
sccache --stop-server
sccache --show-stats

View File

@ -16,5 +16,5 @@ for spec in ethcore/res/ethereum/*.json; do
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
done
#show sccache statistics
sccache --stop-server
sccache --show-stats
exit $ERR