forked from SynchronetBBS/sbbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
227 lines (211 loc) · 4.35 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
.rules:
rules:
- changes:
- src/**/*
- 3rdp/**/*
- ctrl/text.dat
- xtrn/**/{GNUm,M}akefile
- xtrn/**/*.{c,h,cpp,hpp,mk}
sbbs-linux:
tags: [Linux]
image: gcc
stage: build
extends: .rules
script:
- cd src/sbbs3
- make RELEASE=1 all
- make RELEASE=1 gtkutils
artifacts:
name: sbbs-linux-x64
paths:
- "src/sbbs3/*.exe.release/*"
- "src/sbbs3/*.lib.release/*"
- "src/sbbs3/*/*.exe.release/*"
sexpots-linux:
tags: [Linux]
image: gcc
stage: build
extends: .rules
script:
- cd src/sexpots
- make RELEASE=1
artifacts:
name: sexpots-linux-x64
paths:
- "src/sexpots/*.exe.release/*"
syncterm-linux:
tags: [Linux]
image: gcc
stage: build
extends: .rules
script:
- cd src/syncterm
- make RELEASE=1
artifacts:
name: syncterm-linux-x64
paths:
- "src/syncterm/*.exe.release/*"
sbbs-windows:
tags: [Windows]
stage: build
extends: .rules
script:
- cd src/xpdev
- make
- cd ../../src/sbbs3
- .\release.bat
- cd ctrl
- .\build.bat
- cd ../chat
- .\build.bat
- cd ../useredit
- .\build.bat
- cd ../../../xtrn/sbj
- make
- cd ../tbd
- make
dependencies: []
artifacts:
name: sbbs-win32
paths:
- "src/sbbs3/*.exe.release/*.exe"
- "src/sbbs3/*.dll.release/*.dll"
- "src/sbbs3/*/*.exe.release/*.exe"
- "src/sbbs3/*/*.exe"
- "xtrn/*/*.exe"
sexpots-windows:
tags: [Windows]
stage: build
extends: .rules
script:
- cd src/sexpots
- .\release.bat
artifacts:
name: sexpots-win32
paths:
- "src/sexpots/Release/*.exe"
svdm-windows:
tags: [Windows]
stage: build
extends: .rules
script:
- cd src/vdmodem
- .\release.bat
artifacts:
name: svdm-win32
paths:
- "src/vdmodem/Release/*.exe"
.syncterm-msvc:
tags: [Windows]
stage: build
extends: .rules
script:
- cd src/syncterm
- .\release.bat
artifacts:
name: syncterm-msvc
paths:
- "src/syncterm/Release/*.exe"
sbbs-freebsd:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/sbbs3
- gmake RELEASE=1 all
artifacts:
name: sbbs-freebsd-amd64
paths:
- "src/sbbs3/*.exe.release/*"
- "src/sbbs3/*.lib.release/*"
- "src/sbbs3/*/*.exe.release/*"
syncterm-freebsd:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/syncterm
- gmake RELEASE=1
artifacts:
name: syncterm-freebsd-amd64
paths:
- "src/syncterm/*.exe.release/*"
syncterm-windows:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/syncterm
- gmake AR=mingw32-ar CC=mingw32-gcc CXX=mingw32-g++ RANLIB=mingw32-ranlib RELEASE=1 STATIC_CRYPTLIB=yes USE_SDL=1 VERBOSE=please WINDRES=mingw32-windres
artifacts:
name: syncterm-win32
paths:
- "src/syncterm/*.exe.release/*"
syncdraw-freebsd:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/syncdraw
- gmake RELEASE=1
artifacts:
name: syncdraw-freebsd-amd64
paths:
- "src/syncdraw/*.exe.release/*"
syncdraw-linux:
tags: [Linux]
image: gcc
stage: build
extends: .rules
script:
- cd src/syncdraw
- make RELEASE=1
artifacts:
name: syncdraw-linux-x64
paths:
- "src/syncdraw/*.exe.release/*"
jsdoor-freebsd:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/sbbs3
- gmake RELEASE=1 jsdoor
artifacts:
name: jsdoor-freebsd-amd64
paths:
- "src/sbbs3/*.exe.release/*"
jsdoor-linux:
tags: [Linux]
image: gcc
stage: build
extends: .rules
script:
- cd src/sbbs3
- make RELEASE=1 jsdoor
artifacts:
name: jsdoor-linux-x64
paths:
- "src/sbbs3/*.exe.release/*"
sexpots-freebsd:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/sexpots
- gmake RELEASE=1
artifacts:
name: sexpots-freebsd-amd64
paths:
- "src/sexpots/*.exe.release/*"
jsdoor-windows:
tags: [FreeBSD]
stage: build
extends: .rules
script:
- cd src/sbbs3
- gmake AR=mingw32-ar CC=mingw32-gcc CXX=mingw32-g++ JSINCLUDE=../../3rdp/win32.release/mozjs/include/ JSLIB=mozjs JSLIBDIR=../../3rdp/win32.release/mozjs/bin/ RANLIB=mingw32-ranlib RELEASE=1 VERBOSE=please WINDRES=mingw32-windres jsdoor
artifacts:
name: jsdoor-win32
paths:
- "src/sbbs3/*.exe.release/*"