-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
43 lines (39 loc) · 926 Bytes
/
.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
stages:
- build
build-1_34:
stage: build
image: rust:1.34-slim
dependencies: []
script:
- cargo build --verbose
- cargo test --verbose
- cargo doc --verbose
build-stable:
stage: build
image: rust:latest
dependencies: []
script:
- cargo build --verbose
- cargo test --verbose
- cargo doc --verbose
build-beta:
stage: build
image: rust:latest
dependencies: []
before_script:
- rustup default beta
script:
- cargo build --verbose
- cargo test --verbose
- cargo doc --verbose
build-nightly:
stage: build
image: rust:latest
dependencies: []
before_script:
- rustup default nightly
script:
- cargo generate-lockfile -Z minimal-versions
- cargo build --verbose --locked
- cargo test --verbose --locked
- cargo doc --verbose --locked