-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
61 lines (56 loc) · 1.22 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
stages:
- test
rust-latest-all-features:
stage: test
image: docker.io/library/rust:latest
cache:
- key: rust-latest-all-features
paths:
- target/
script:
- rustup component add clippy
- cargo check
- cargo clippy
- cargo build --all-features
- cargo test --all-features
rust-latest-default-features:
stage: test
image: docker.io/library/rust:latest
cache:
- key: rust-latest-default-features
paths:
- target/
script:
- cargo build
- cargo test
rust-latest-no-features:
stage: test
image: docker.io/library/rust:latest
cache:
- key: rust-latest-no-features
paths:
- target/
script:
- cargo build --no-default-features
- cargo test --no-default-features
rust-1.76-all-features:
stage: test
image: docker.io/library/rust:1.76
cache:
- key: rust-1.76-all-features
paths:
- target/
script:
- cargo build --all-features
- cargo test --all-features
rust-nightly-all-features:
stage: test
image: docker.io/rustlang/rust:nightly
cache:
- key: rust-nightly-all-features
paths:
- target/
script:
- cargo build --all-features
- cargo test --all-features
allow_failure: true