-
Notifications
You must be signed in to change notification settings - Fork 33
/
.gitlab-ci.yml
118 lines (105 loc) · 1.92 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
stages:
- test
- release
build-windows-vs2017:
script:
- call tools\release_vs2017.bat
variables:
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
tags:
- windows
- vs2017
only:
- web
artifacts:
paths:
- release\killerbeez-*.zip
expire_in: 1 week
stage: release
build-windows-vs2019:
script:
- call tools\release_vs2019.bat
variables:
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
tags:
- windows
- vs2019
only:
- web
artifacts:
paths:
- release\killerbeez-*.zip
expire_in: 1 week
stage: release
release-linux:
script:
- mkdir build
- cd build
- cmake ..
- make release
image: killerbeez-builder:latest
variables:
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
tags:
- ubuntu-16.04
only:
- web
artifacts:
paths:
- build/killerbeez-*.zip
expire_in: 1 week
stage: release
# Smoke tests on all platforms
.smoketest-linux: &smoketest-linux
script:
- cd ..
- killerbeez/tests/smoke_test.sh
variables:
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
only:
- web
stage: test
# The build is broken on most of the platforms
allow_failure: true
smoketest-ubuntu-14.04:
<<: *smoketest-linux
tags:
- ubuntu-14.04
smoketest-ubuntu-16.04:
<<: *smoketest-linux
tags:
- ubuntu-16.04
# This platform is supposed to be working
allow_failure: false
smoketest-ubuntu-18.04:
<<: *smoketest-linux
tags:
- ubuntu-18.04
smoketest-ubuntu-19.04:
<<: *smoketest-linux
tags:
- ubuntu-19.04
smoketest-fedora-29:
<<: *smoketest-linux
tags:
- fedora-29
smoketest-fedora-30:
<<: *smoketest-linux
tags:
- fedora-30
smoketest-debian-8:
<<: *smoketest-linux
tags:
- debian-8
smoketest-debian-9:
<<: *smoketest-linux
tags:
- debian-9
smoketest-debian-10:
<<: *smoketest-linux
tags:
- debian-10