-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
52 lines (45 loc) 路 828 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
52 lines (45 loc) 路 828 Bytes
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
stages:
- build
- test
.deb12: &deb12
image: debian:bookworm
before_script:
- apt update -qq
- apt install -y cargo
rules:
- when: never # debian 12 rust is too old, don't care right now
.deb13: &deb13
image: debian:trixie
before_script:
- apt update -qq
- apt install -y cargo
build-deb12:
<<: *deb12
stage: build
script:
- cargo build --verbose
unit-test-deb12:
<<: *deb12
stage: test
needs:
- job: build-deb12
artifacts: true
variables:
RUST_LOG: trace
script:
- cargo test --verbose
build-deb13:
<<: *deb13
stage: build
script:
- cargo build --verbose
unit-test-deb13:
<<: *deb13
stage: test
needs:
- job: build-deb13
artifacts: true
variables:
RUST_LOG: trace
script:
- cargo test --verbose