-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
46 lines (41 loc) · 1.07 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
stages:
- test
rust:deny:
stage: test
image: rust:1.84-alpine3.21
before_script:
- apk add cargo-deny
script:
- cargo deny check
rust:fmt:
stage: test
image: rust:1.84-alpine3.21
before_script:
- rustup component add rustfmt
script:
- cargo fmt -- --check
rust:clippy:
stage: test
image: rust:1.84-alpine3.20
before_script:
- apk add build-base musl-dev linux-headers cmake perl go
- rustup component add clippy
script:
- cargo clippy --all-features -- -D warnings
rust:hack:
stage: test
image: rust:1.84-alpine3.20
before_script:
- apk add build-base musl-dev linux-headers cmake perl go
- cargo install --locked [email protected]
script:
- cargo hack check --feature-powerset --no-dev-deps --at-least-one-of aws-lc-rs,ring --at-least-one-of rand,getrandom
rust:test:
stage: test
image: rust:1.84-alpine3.21
before_script:
- apk add musl-dev cmake perl go
script:
- cargo test
- cargo test --features websocket,portable-atomic
- cargo test --no-default-features --features ring,getrandom