Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 753b923

Browse files
General-Becks3krit
authored andcommitted
Beta sccache backport (#11254)
fix check-benches
1 parent bc90ba2 commit 753b923

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.gitlab-ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ variables:
3737
before_script:
3838
- rustup show
3939
- cargo --version
40+
retry:
41+
max: 2
42+
when:
43+
- runner_system_failure
44+
- unknown_failure
45+
- api_failure
4046
tags:
4147
- linux-docker
4248

@@ -63,28 +69,28 @@ cargo-check 0 3:
6369
<<: *docker-cache-status
6470
script:
6571
- time cargo check --target $CARGO_TARGET --locked --no-default-features --verbose --color=always
66-
- sccache --stop-server
72+
- sccache --show-stats
6773

6874
cargo-check 1 3:
6975
stage: test
7076
<<: *docker-cache-status
7177
script:
7278
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --no-default-features --verbose --color=always
73-
- sccache --stop-server
79+
- sccache --show-stats
7480

7581
cargo-check 2 3:
7682
stage: test
7783
<<: *docker-cache-status
7884
script:
7985
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --features "mio" --verbose --color=always
80-
- sccache --stop-server
86+
- sccache --show-stats
8187

8288
cargo-check-evmbin:
8389
stage: test
8490
<<: *docker-cache-status
8591
script:
8692
- time cargo check -p evmbin --target $CARGO_TARGET --locked --verbose --color=always
87-
- sccache -s
93+
- sccache --show-stats
8894

8995
cargo-check-benches:
9096
stage: test
@@ -94,8 +100,7 @@ cargo-check-benches:
94100
cargo check --all --benches --exclude ethash --target $CARGO_TARGET --locked --verbose --color=always;
95101
(cd ethash; time cargo check --benches --features bench --target $CARGO_TARGET --locked --verbose --color=always)
96102
)
97-
- sccache -s
98-
allow_failure: true # temp
103+
- sccache --show-stats
99104

100105
cargo-audit:
101106
stage: test

scripts/gitlab/build-linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ do
5656
then
5757
./parity tools hash $binary > $binary.sha3
5858
else
59-
echo "> ${binary} cannot be hashed with cross-compiled binary (keccak256)"
59+
echo ">[WARN] ${binary} cannot be hashed with cross-compiled binary (keccak256)"
6060
fi
6161
done
6262
#show sccache statistics
63-
sccache --stop-server
63+
sccache --show-stats

0 commit comments

Comments
 (0)