forked from TelepathyIM/telepathy-gabble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
65 lines (59 loc) · 1.32 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
stages:
- style-check
- build
- test
variables:
FEDORA_MB: registry.freedesktop.org/telepathy/telepathy-gabble/fedoraw:v1
DEBIAN_MB: registry.freedesktop.org/telepathy/telepathy-gabble/debtest:v1
DEBSTB_MB: registry.freedesktop.org/telepathy/telepathy-gabble/debstbl:v1
SUSELP_MB: registry.freedesktop.org/telepathy/telepathy-gabble/osuselp:v1
SUSETW_MB: registry.freedesktop.org/telepathy/telepathy-gabble/osusetw:v1
WOCKY_DEBUG: all
#G_MESSAGES_DEBUG: all
.def_mb:
before_script:
- test -d _b || meson _b -Dgoogle-relay=true
cache:
key: "$CI_JOB_IMAGE:$CI_COMMIT_SHA"
paths: [ _b ]
style-ck-mb:
extends: .def_mb
stage: style-check
image: $FEDORA_MB
script:
- ninja -C _b check
build-mb:
extends: .def_mb
stage: build
image: $image
script:
- ninja -C _b
parallel:
matrix:
- image:
- $FEDORA_MB
- $DEBIAN_MB
#- $SUSETW_MB
- $DEBSTB_MB
- $SUSELP_MB
test-mb:
extends: .def_mb
stage: test
image: $image
script:
- meson test -C _b
artifacts:
reports:
expire_in: 1 week
when: always
paths:
- "_b/meson-logs"
- "_b/tests/twisted/tools/gabble-testing.log"
parallel:
matrix:
- image:
- $FEDORA_MB
- $DEBIAN_MB
#- $SUSETW_MB
- $DEBSTB_MB
- $SUSELP_MB