-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
100 lines (89 loc) 路 1.51 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
100 lines (89 loc) 路 1.51 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
stages:
- build
- unit-test
- smoke-test
# ---
.deb12-job: &deb12-job
image: debian:bookworm
before_script:
- bash .gitlab/ci/prepare-apt-proxy.sh
- bash dependencies.sh -y
.deb13-job: &deb13-job
image: debian:trixie
before_script:
- bash .gitlab/ci/prepare-apt-proxy.sh
- bash dependencies.sh -y
# ---
build-deb12:
<<: *deb12-job
stage: build
script:
- make
artifacts:
paths:
- build
expire_in: 1 hour
unit-test-deb12:
<<: *deb12-job
stage: unit-test
needs:
- job: build-deb12
artifacts: true
script:
- make test
artifacts:
when: always
paths:
- build/test*_report.xml
reports:
junit:
- build/test*_report.xml
smoke-test-deb12:
<<: *deb12-job
stage: smoke-test
needs:
- job: build-deb12
artifacts: true
script:
- make smoke
artifacts:
when: always
paths:
- build/test/smoke/smoke.log
# ---
build-deb13:
<<: *deb13-job
stage: build
script:
- make
artifacts:
paths:
- build
expire_in: 1 hour
unit-test-deb13:
<<: *deb13-job
stage: unit-test
needs:
- job: build-deb13
artifacts: true
script:
- make test
artifacts:
when: always
paths:
- build/test*_report.xml
reports:
junit:
- build/test*_report.xml
smoke-test-deb13:
<<: *deb13-job
stage: smoke-test
needs:
- job: build-deb13
artifacts: true
script:
- make smoke
artifacts:
when: always
paths:
- build/test/smoke/smoke.log