This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree 5 files changed +43
-7
lines changed
5 files changed +43
-7
lines changed Original file line number Diff line number Diff line change 1
1
steps :
2
2
- command : " ci/coverage.sh"
3
- label : " coverage [public]"
3
+ label : " coverage"
4
+ # TODO: Run coverage in a docker image rather than assuming kcov/cargo-kcov
5
+ # is installed on the build agent...
6
+ # plugins:
7
+ # docker#v1.1.1:
8
+ # image: "rust"
9
+ # user: "998:997" # buildkite-agent:buildkite-agent
10
+ # environment:
11
+ # - CODECOV_TOKEN=$CODECOV_TOKEN
4
12
- command : " ci/test-stable.sh"
5
13
label : " stable [public]"
14
+ plugins :
15
+ docker#v1.1.1:
16
+ image : " rust"
17
+ user : " 998:997" # buildkite-agent:buildkite-agent
6
18
- command : " ci/test-nightly.sh || true"
7
19
label : " nightly - FAILURES IGNORED [public]"
20
+ plugins :
21
+ docker#v1.1.1:
22
+ image : " rustlang/rust:nightly"
23
+ user : " 998:997" # buildkite-agent:buildkite-agent
8
24
- command : " ci/test-ignored.sh || true"
9
25
label : " ignored - FAILURES IGNORED [public]"
10
26
- command : " ci/test-cuda.sh"
11
27
label : " cuda"
12
28
- wait
13
29
- command : " ci/publish.sh"
14
30
label : " publish release artifacts"
31
+ plugins :
32
+ docker#v1.1.1:
33
+ image : " rust"
34
+ user : " 998:997" # buildkite-agent:buildkite-agent
35
+ environment :
36
+ - BUILDKITE_TAG=$BUILDKITE_TAG
37
+ - CRATES_IO_TOKEN=$CRATES_IO_TOKEN
Original file line number Diff line number Diff line change 2
2
3
3
cd $( dirname $0 ) /..
4
4
5
- source $HOME /.cargo/env
6
- rustup update
5
+ if [[ -r ~ /.cargo/env ]]; then
6
+ # Pick up local install of kcov/cargo-kcov
7
+ source ~ /.cargo/env
8
+ fi
9
+
10
+ rustc --version
11
+ cargo --version
12
+ kcov --version
13
+ cargo-kcov --version
14
+
7
15
export RUST_BACKTRACE=1
8
16
cargo build
9
17
cargo kcov
Original file line number Diff line number Diff line change 2
2
3
3
cd $( dirname $0 ) /..
4
4
5
- source $HOME /.cargo/env
6
- rustup update
5
+ rustc --version
6
+ cargo --version
7
+
7
8
export RUST_BACKTRACE=1
8
9
cargo test -- --ignored
Original file line number Diff line number Diff line change 2
2
3
3
cd $( dirname $0 ) /..
4
4
5
- source $HOME /.cargo/env
5
+ rustc --version
6
+ cargo --version
7
+
6
8
rustup component add rustfmt-preview
7
9
cargo fmt -- --write-mode=diff
8
10
cargo build --verbose --features unstable
Original file line number Diff line number Diff line change 2
2
3
3
cd $( dirname $0 ) /..
4
4
5
- source $HOME /.cargo/env
5
+ rustc --version
6
+ cargo --version
7
+
6
8
rustup component add rustfmt-preview
7
9
cargo fmt -- --write-mode=diff
8
10
cargo build --verbose
You can’t perform that action at this time.
0 commit comments