-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
65 lines (53 loc) · 1.19 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
62
63
64
65
fmt:
image: rustlang/rust:nightly
script:
- rustup component add rustfmt-preview
- cargo fmt -- --check
# Each package is checked separately because of
# https://github.com/rust-lang/cargo/issues/5364
.check-crate:
image: rust
script: cd "$crate" && cargo check --all-targets --features strict
check-brain:
extends: .check-crate
variables:
crate: brain
check-brain-test-data:
extends: .check-crate
variables:
crate: brain-test-data
check-collect:
extends: .check-crate
variables:
crate: collect
check-common:
extends: .check-crate
variables:
crate: common
check-dom:
extends: .check-crate
variables:
crate: dom
check-oven:
extends: .check-crate
variables:
crate: oven
check-play:
extends: .check-crate
variables:
crate: play
check-simulate:
extends: .check-crate
variables:
crate: simulate
clippy:
image: rust
script:
- rustup component add clippy
- cargo clippy --all-targets --features strict
# Unfortunately testing can't happen in CI right now because we require Windows.
.test:
image: rust
script:
# Skip the tests which require Rocket League to be running.
- cargo test -- --skip integration