Skip to content

Commit 236974d

Browse files
committed
Use stable version to compute code coverage
1 parent 04bbeff commit 236974d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.taskcluster.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,20 @@ tasks:
9696
workerType: ci
9797
payload:
9898
maxRunTime: 3600
99-
image: "rustlang/rust:nightly"
99+
image: "rust:buster"
100100
env:
101101
CODECOV_TOKEN: 4df01912-087e-489a-be28-25aa911cb9d2
102102
CARGO_INCREMENTAL: 0
103-
RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort
104-
RUSTDOCFLAGS: -Cpanic=abort
103+
RUSTFLAGS: -Cinstrument-coverage -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off
104+
RUSTDOCFLAGS: -Cinstrument-coverage -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off
105+
LLVM_PROFILE_FILE: rust-code-analysis-%p-%m.profraw
105106
command:
106107
- "/bin/bash"
107108
- "-cx"
108109
- "apt-get -qq update &&
109110
apt-get -qq install -y zip &&
110111
curl -L https://github.com/mozilla/grcov/releases/download/v0.8.6/grcov-v0.8.6-x86_64-unknown-linux-gnu.tar.gz | tar xz &&
112+
rustup component add llvm-tools-preview &&
111113
git clone --quiet ${repository} &&
112114
cd rust-code-analysis &&
113115
git -c advice.detachedHead=false checkout ${head_rev} &&

0 commit comments

Comments
 (0)