.gitlab-ci.yml 34.5 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
###############################################################################
##                                                                           ##
##    Genral settings                                                        ##
##                                                                           ##
###############################################################################

stages:
   - test
   - deploy

   
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
###############################################################################
##                                                                           ##
##    Build templates                                                        ##
##                                                                           ##
###############################################################################

.build_template: &build_definition
   script:
      - export NUM_CORES=$(nproc --all)
      - export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024  ) ))
      - "[[ $MAX_BUILD_CORES -lt $NUM_CORES ]] && export NUM_BUILD_CORES=$MAX_BUILD_CORES || export NUM_BUILD_CORES=$NUM_CORES"
      - $CXX --version
      - cmake --version
      - ccache --version
      - mpirun --version
      - export CCACHE_BASEDIR=$CI_PROJECT_DIR
      - mkdir $CI_PROJECT_DIR/build
      - cd $CI_PROJECT_DIR/build
      - if dpkg --compare-versions `ompi_info | head -2 | tail -1 | sed 's/[^0-9.]*\([0-9.]*\).*/\1/'` ge 1.10; then export MPIEXEC_PREFLAGS="--allow-run-as-root" ; fi
31
      - cmake .. -DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_CUDA=$WALBERLA_BUILD_WITH_CUDA -DWALBERLA_BUILD_WITH_PYTHON=$WALBERLA_BUILD_WITH_PYTHON -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DMPIEXEC_PREFLAGS=$MPIEXEC_PREFLAGS -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY -DWARNING_ERROR=ON
32
33
34
35
36
37
      - cmake . -LAH
      - make -j $NUM_BUILD_CORES -l $NUM_CORES
      - ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES
   tags:
      - docker

Martin Bauer's avatar
Martin Bauer committed
38

39
40
41
42
43
44
45
46
47
.build_serial_template: &build_serial_definition
   <<: *build_definition
   variables:
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      CMAKE_BUILD_TYPE: "Release"
      WALBERLA_BUFFER_DEBUG: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
Martin Bauer's avatar
Martin Bauer committed
48
49


50
51
52
53
54
55
56
57
58
.build_mpionly_template: &build_mpionly_definition
   <<: *build_definition
   variables:
       CTEST_EXCLUDE_LABELS: "longrun"
       WALBERLA_BUILD_WITH_MPI: "ON"
       WALBERLA_BUILD_WITH_OPENMP: "OFF"
       CMAKE_BUILD_TYPE: "Release"
       WALBERLA_BUFFER_DEBUG: "OFF"
       WALBERLA_DOUBLE_ACCURACY: "ON"
Martin Bauer's avatar
Martin Bauer committed
59
60


61
62
63
64
65
66
67
68
69
70
71
.build_hybrid_template: &build_hybrid_definition
   <<: *build_definition
   variables:
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      OMP_NUM_THREADS: "4"
      OMP_WAIT_POLICY: "PASSIVE"
      CMAKE_BUILD_TYPE: "Release"
      WALBERLA_BUFFER_DEBUG: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
Martin Bauer's avatar
Martin Bauer committed
72

73
74
75
76
77
78
79
80
81
.build_serial_dbg_template: &build_serial_dbg_definition
   <<: *build_definition
   variables:
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUFFER_DEBUG: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
Martin Bauer's avatar
Martin Bauer committed
82
83


84
85
86
87
88
89
90
91
92
.build_mpionly_dbg_template: &build_mpionly_dbg_definition
   <<: *build_definition
   variables:
       CTEST_EXCLUDE_LABELS: "longrun"
       WALBERLA_BUILD_WITH_MPI: "ON"
       WALBERLA_BUILD_WITH_OPENMP: "OFF"
       CMAKE_BUILD_TYPE: "DebugOptimized"
       WALBERLA_BUFFER_DEBUG: "OFF"
       WALBERLA_DOUBLE_ACCURACY: "ON"
Martin Bauer's avatar
Martin Bauer committed
93
94


95
96
97
98
99
100
101
102
103
104
105
.build_hybrid_dbg_template: &build_hybrid_dbg_definition
   <<: *build_definition
   variables:
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      OMP_NUM_THREADS: "4"
      OMP_WAIT_POLICY: "PASSIVE"
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUFFER_DEBUG: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
Martin Bauer's avatar
Martin Bauer committed
106

107
108
109
110
111
112
113
114
115
116
117
.build_hybrid_dbg_sp_template: &build_hybrid_dbg_sp_definition
   <<: *build_definition
   variables:
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      OMP_NUM_THREADS: "4"
      OMP_WAIT_POLICY: "PASSIVE"
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUFFER_DEBUG: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
Martin Bauer's avatar
Martin Bauer committed
118
119


120
121
###############################################################################
##                                                                           ##
Martin Bauer's avatar
Martin Bauer committed
122
##    Linux builds                                                           ##
123
124
125
##                                                                           ##
###############################################################################

Martin Bauer's avatar
Martin Bauer committed
126
127
128


intel_15_serial:
129
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
130
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
131
132
   only:
      - triggers
133
   tags:
Martin Bauer's avatar
Martin Bauer committed
134
      - docker
Martin Bauer's avatar
Martin Bauer committed
135
      - intel
Martin Bauer's avatar
Martin Bauer committed
136
137
138
139

intel_15_mpionly:
   <<: *build_mpionly_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
140
141
   only:
      - triggers
142
   tags:
Martin Bauer's avatar
Martin Bauer committed
143
      - docker
Martin Bauer's avatar
Martin Bauer committed
144
      - intel
Martin Bauer's avatar
Martin Bauer committed
145
146
147
148

intel_15_hybrid:
   <<: *build_hybrid_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
149
150
   only:
      - triggers
151
   tags:
Martin Bauer's avatar
Martin Bauer committed
152
      - docker
Martin Bauer's avatar
Martin Bauer committed
153
      - intel
Martin Bauer's avatar
Martin Bauer committed
154
155
156
157

intel_15_serial_dbg:
   <<: *build_serial_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
158
159
   only:
      - triggers
160
   tags:
Martin Bauer's avatar
Martin Bauer committed
161
      - docker
Martin Bauer's avatar
Martin Bauer committed
162
      - intel
Martin Bauer's avatar
Martin Bauer committed
163
164
165
166

intel_15_mpionly_dbg:
   <<: *build_mpionly_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
167
168
   only:
      - triggers
169
   tags:
Martin Bauer's avatar
Martin Bauer committed
170
      - docker
Martin Bauer's avatar
Martin Bauer committed
171
      - intel
Martin Bauer's avatar
Martin Bauer committed
172
173

intel_15_hybrid_dbg:
174
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
175
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
176
   tags:
Martin Bauer's avatar
Martin Bauer committed
177
      - docker
Martin Bauer's avatar
Martin Bauer committed
178
      - intel
179

Martin Bauer's avatar
Martin Bauer committed
180
181
182
intel_15_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:15
183
184
   only:
      - triggers
Martin Bauer's avatar
Martin Bauer committed
185
186
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
187
      - intel
Martin Bauer's avatar
Martin Bauer committed
188
189
190
191

intel_16_serial:
   <<: *build_serial_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
192
193
   only:
      - triggers
194
   tags:
195
      - cuda
Martin Bauer's avatar
Martin Bauer committed
196
      - docker
Martin Bauer's avatar
Martin Bauer committed
197
      - intel
Martin Bauer's avatar
Martin Bauer committed
198
199
200
201

intel_16_mpionly:
   <<: *build_mpionly_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
202
203
   only:
      - triggers
204
   tags:
205
      - cuda
Martin Bauer's avatar
Martin Bauer committed
206
      - docker
Martin Bauer's avatar
Martin Bauer committed
207
      - intel
Martin Bauer's avatar
Martin Bauer committed
208
209
210
211

intel_16_hybrid:
   <<: *build_hybrid_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
212
213
   only:
      - triggers
214
   tags:
215
      - cuda
Martin Bauer's avatar
Martin Bauer committed
216
      - docker
Martin Bauer's avatar
Martin Bauer committed
217
      - intel
Martin Bauer's avatar
Martin Bauer committed
218
219
220
221

intel_16_serial_dbg:
   <<: *build_serial_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
222
223
   only:
      - triggers
224
   tags:
225
      - cuda
Martin Bauer's avatar
Martin Bauer committed
226
      - docker
Martin Bauer's avatar
Martin Bauer committed
227
      - intel
Martin Bauer's avatar
Martin Bauer committed
228
229
230
231

intel_16_mpionly_dbg:
   <<: *build_mpionly_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
232
233
   only:
      - triggers
234
   tags:
235
      - cuda
Martin Bauer's avatar
Martin Bauer committed
236
      - docker
Martin Bauer's avatar
Martin Bauer committed
237
      - intel
Martin Bauer's avatar
Martin Bauer committed
238
239

intel_16_hybrid_dbg:
240
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
241
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
242
243
   only:
      - triggers
244
   tags:
245
      - cuda
Martin Bauer's avatar
Martin Bauer committed
246
      - docker
Martin Bauer's avatar
Martin Bauer committed
247
      - intel
Martin Bauer's avatar
Martin Bauer committed
248
249
250
251

intel_16_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
252
253
   only:
      - triggers
254
   tags:
255
      - cuda
Martin Bauer's avatar
Martin Bauer committed
256
      - docker
Martin Bauer's avatar
Martin Bauer committed
257
      - intel
Martin Bauer's avatar
Martin Bauer committed
258
259
260
261

intel_17_serial:
   <<: *build_serial_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
262
263
   only:
      - triggers
264
   tags:
Martin Bauer's avatar
Martin Bauer committed
265
      - docker
Martin Bauer's avatar
Martin Bauer committed
266
      - intel
Martin Bauer's avatar
Martin Bauer committed
267
268
269
270

intel_17_mpionly:
   <<: *build_mpionly_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
271
272
   only:
      - triggers
273
   tags:
Martin Bauer's avatar
Martin Bauer committed
274
      - docker
Martin Bauer's avatar
Martin Bauer committed
275
      - intel
Martin Bauer's avatar
Martin Bauer committed
276
277

intel_17_hybrid:
278
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
279
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
280
   tags:
Martin Bauer's avatar
Martin Bauer committed
281
      - docker
Martin Bauer's avatar
Martin Bauer committed
282
      - intel
Martin Bauer's avatar
Martin Bauer committed
283
284

intel_17_serial_dbg:
285
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
286
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
287
   tags:
Martin Bauer's avatar
Martin Bauer committed
288
      - docker
Martin Bauer's avatar
Martin Bauer committed
289
      - intel
Martin Bauer's avatar
Martin Bauer committed
290
291

intel_17_mpionly_dbg:
292
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
293
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
294
   tags:
Martin Bauer's avatar
Martin Bauer committed
295
      - docker
Martin Bauer's avatar
Martin Bauer committed
296
      - intel
Martin Bauer's avatar
Martin Bauer committed
297
298

intel_17_hybrid_dbg:
299
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
300
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
301
   tags:
Martin Bauer's avatar
Martin Bauer committed
302
      - docker
Martin Bauer's avatar
Martin Bauer committed
303
      - intel
Martin Bauer's avatar
Martin Bauer committed
304
305

intel_17_hybrid_dbg_sp:
306
   <<: *build_hybrid_dbg_sp_definition
Martin Bauer's avatar
Martin Bauer committed
307
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
308
   tags:
Martin Bauer's avatar
Martin Bauer committed
309
      - docker
Martin Bauer's avatar
Martin Bauer committed
310
      - intel
311

Martin Bauer's avatar
Martin Bauer committed
312
gcc_4.7_serial:
313
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
314
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
Christian Godenschwager's avatar
Christian Godenschwager committed
315
316
   only:
      - triggers
317
318
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
319
320

gcc_4.7_mpionly:
321
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
322
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
Christian Godenschwager's avatar
Christian Godenschwager committed
323
324
   only:
      - triggers
325
326
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
327
328

gcc_4.7_hybrid:
329
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
330
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
Christian Godenschwager's avatar
Christian Godenschwager committed
331
332
   only:
      - triggers
333
334
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
335
336

gcc_4.7_serial_dbg:
337
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
338
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
Christian Godenschwager's avatar
Christian Godenschwager committed
339
340
   only:
      - triggers
341
342
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
343
344

gcc_4.7_mpionly_dbg:
345
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
346
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
Christian Godenschwager's avatar
Christian Godenschwager committed
347
348
   only:
      - triggers
349
350
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
351
352

gcc_4.7_hybrid_dbg:
353
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
354
355
356
357
358
359
360
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
   tags:
      - docker

gcc_4.7_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.7
Christian Godenschwager's avatar
Christian Godenschwager committed
361
362
   only:
      - triggers
363
364
   tags:
      - docker
365

Martin Bauer's avatar
Martin Bauer committed
366
gcc_4.8_serial:
367
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
368
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
369
370
   only:
      - triggers
371
372
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
373
374

gcc_4.8_mpionly:
375
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
376
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
377
378
   only:
      - triggers
379
380
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
381
382

gcc_4.8_hybrid:
383
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
384
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
385
386
   only:
      - triggers
387
388
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
389
390

gcc_4.8_serial_dbg:
391
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
392
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
393
394
   only:
      - triggers
395
396
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
397
398

gcc_4.8_mpionly_dbg:
399
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
400
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
401
402
   only:
      - triggers
403
404
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
405
406

gcc_4.8_hybrid_dbg:
407
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
408
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
409
410
   only:
      - triggers
411
412
   tags:
      - docker
413

Martin Bauer's avatar
Martin Bauer committed
414
415
416
gcc_4.8_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.8
Christian Godenschwager's avatar
Christian Godenschwager committed
417
418
   only:
      - triggers
419
420
   tags:
      - docker
421

Martin Bauer's avatar
Martin Bauer committed
422
gcc_4.9_serial:
423
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
424
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
425
426
   only:
      - triggers
427
428
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
429
430

gcc_4.9_mpionly:
431
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
432
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
433
434
   only:
      - triggers
435
436
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
437
438

gcc_4.9_hybrid:
439
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
440
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
441
442
   only:
      - triggers
443
444
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
445
446

gcc_4.9_serial_dbg:
447
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
448
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
449
450
   only:
      - triggers
451
452
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
453
454

gcc_4.9_mpionly_dbg:
455
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
456
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
457
458
   only:
      - triggers
459
460
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
461
462

gcc_4.9_hybrid_dbg:
463
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
464
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
465
466
   only:
      - triggers
467
468
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
469
470
471
472

gcc_4.9_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:4.9
Christian Godenschwager's avatar
Christian Godenschwager committed
473
474
   only:
      - triggers
475
476
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
477
478

gcc_5_serial:
479
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
480
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
Christian Godenschwager's avatar
Christian Godenschwager committed
481
482
   only:
      - triggers
483
484
485
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
486
487

gcc_5_mpionly:
488
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
489
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
Christian Godenschwager's avatar
Christian Godenschwager committed
490
491
   only:
      - triggers
492
493
494
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
495
496

gcc_5_hybrid:
497
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
498
499
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   tags:
Martin Bauer's avatar
Martin Bauer committed
500
      - cuda
501
      - docker
Martin Bauer's avatar
Martin Bauer committed
502
503

gcc_5_serial_dbg:
504
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
505
506
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   tags:
Martin Bauer's avatar
Martin Bauer committed
507
      - cuda
508
      - docker
Martin Bauer's avatar
Martin Bauer committed
509
510

gcc_5_mpionly_dbg:
511
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
512
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
Christian Godenschwager's avatar
Christian Godenschwager committed
513
514
   only:
      - triggers
515
516
517
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
518
519

gcc_5_hybrid_dbg:
520
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
521
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
Christian Godenschwager's avatar
Christian Godenschwager committed
522
523
   only:
      - triggers
524
525
526
   tags:
      - cuda
      - docker
527

Martin Bauer's avatar
Martin Bauer committed
528
529
530
gcc_5_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
Christian Godenschwager's avatar
Christian Godenschwager committed
531
532
   only:
      - triggers
533
534
535
   tags:
      - cuda
      - docker
536

Martin Bauer's avatar
Martin Bauer committed
537
gcc_6_serial:
538
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
539
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
Christian Godenschwager's avatar
Christian Godenschwager committed
540
541
   only:
      - triggers
542
543
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
544
545

gcc_6_mpionly:
546
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
547
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
Christian Godenschwager's avatar
Christian Godenschwager committed
548
549
   only:
      - triggers
550
551
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
552
553

gcc_6_hybrid:
554
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
555
556
557
558
559
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   tags:
      - docker

gcc_6_serial_dbg:
560
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
561
562
563
564
565
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   tags:
      - docker

gcc_6_mpionly_dbg:
566
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
567
568
569
570
571
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   tags:
      - docker

gcc_6_hybrid_dbg:
572
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
573
574
575
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   tags:
      - docker
576

Martin Bauer's avatar
Martin Bauer committed
577
578
579
580
581
gcc_6_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   tags:
      - docker
582

Martin Bauer's avatar
Martin Bauer committed
583
clang_3.4_serial:
584
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
585
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.4
Christian Godenschwager's avatar
Christian Godenschwager committed
586
587
   only:
      - triggers
588
589
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
590
591

clang_3.4_mpionly:
592
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
593
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.4
Christian Godenschwager's avatar
Christian Godenschwager committed
594
595
   only:
      - triggers
596
597
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
598
599

clang_3.4_serial_dbg:
600
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
601
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.4
Christian Godenschwager's avatar
Christian Godenschwager committed
602
603
   only:
      - triggers
604
605
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
606
607

clang_3.4_mpionly_dbg:
608
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
609
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.4
610
611
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
612
613

clang_3.5_serial:
614
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
615
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.5
Christian Godenschwager's avatar
Christian Godenschwager committed
616
617
   only:
      - triggers
618
619
620
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
621
622

clang_3.5_mpionly:
623
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
624
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.5
Christian Godenschwager's avatar
Christian Godenschwager committed
625
626
   only:
      - triggers
627
628
629
   tags:
      - cuda
      - docker
630

Martin Bauer's avatar
Martin Bauer committed
631
clang_3.5_serial_dbg:
632
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
633
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.5
Christian Godenschwager's avatar
Christian Godenschwager committed
634
635
   only:
      - triggers
636
637
638
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
639
640

clang_3.5_mpionly_dbg:
641
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
642
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.5
Christian Godenschwager's avatar
Christian Godenschwager committed
643
644
   only:
      - triggers
645
646
647
   tags:
      - cuda
      - docker
648

Martin Bauer's avatar
Martin Bauer committed
649
clang_3.6_serial:
650
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
651
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
Christian Godenschwager's avatar
Christian Godenschwager committed
652
653
   only:
      - triggers
654
655
656
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
657
658

clang_3.6_mpionly:
659
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
660
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
Christian Godenschwager's avatar
Christian Godenschwager committed
661
662
   only:
      - triggers
663
664
665
   tags:
      - cuda
      - docker
666

Martin Bauer's avatar
Martin Bauer committed
667
clang_3.6_serial_dbg:
668
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
669
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
Christian Godenschwager's avatar
Christian Godenschwager committed
670
671
   only:
      - triggers
672
673
674
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
675

676
677
clang_3.6_mpionly_dbg:
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
678
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
Christian Godenschwager's avatar
Christian Godenschwager committed
679
680
   only:
      - triggers
681
682
683
   tags:
      - cuda
      - docker
684

Martin Bauer's avatar
Martin Bauer committed
685
clang_3.7_serial:
686
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
687
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
Christian Godenschwager's avatar
Christian Godenschwager committed
688
689
   only:
      - triggers
690
691
692
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
693
694

clang_3.7_mpionly:
695
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
696
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
Christian Godenschwager's avatar
Christian Godenschwager committed
697
698
   only:
      - triggers
699
700
701
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
702
703

clang_3.7_serial_dbg:
704
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
705
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
Christian Godenschwager's avatar
Christian Godenschwager committed
706
707
   only:
      - triggers
708
709
710
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
711
712

clang_3.7_mpionly_dbg:
713
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
714
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
Christian Godenschwager's avatar
Christian Godenschwager committed
715
716
   only:
      - triggers
717
718
719
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
720
721

clang_3.8_serial:
722
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
723
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
724
725
   only:
      - triggers
726
727
728
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
729
730

clang_3.8_mpionly:
731
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
732
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
733
734
   only:
      - triggers
735
736
737
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
738
739

clang_3.8_hybrid:
740
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
741
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
742
743
   only:
      - triggers
744
745
746
   tags:
      - cuda
      - docker
747

Martin Bauer's avatar
Martin Bauer committed
748
clang_3.8_serial_dbg:
749
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
750
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
751
752
   only:
      - triggers
753
754
755
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
756
757

clang_3.8_mpionly_dbg:
758
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
759
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
760
761
   only:
      - triggers
762
763
764
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
765
766

clang_3.8_hybrid_dbg:
767
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
768
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
769
770
   only:
      - triggers
771
772
773
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
774
775
776
777

clang_3.8_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
Christian Godenschwager's avatar
Christian Godenschwager committed
778
779
   only:
      - triggers
780
781
782
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
783
784

clang_3.9_serial:
785
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
786
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
787
788
   only:
      - triggers
789
790
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
791
792

clang_3.9_mpionly:
793
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
794
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
795
796
   only:
      - triggers
797
798
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
799
800

clang_3.9_hybrid:
801
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
802
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
803
804
   only:
      - triggers
805
806
   tags:
      - docker
807

Martin Bauer's avatar
Martin Bauer committed
808
clang_3.9_serial_dbg:
809
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
810
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
811
812
   only:
      - triggers
813
814
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
815
816

clang_3.9_mpionly_dbg:
817
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
818
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
819
820
   only:
      - triggers
821
822
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
823
824

clang_3.9_hybrid_dbg:
825
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
826
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
827
828
   only:
      - triggers
829
830
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
831

Martin Bauer's avatar
Martin Bauer committed
832
833
834
clang_3.9_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
Christian Godenschwager's avatar
Christian Godenschwager committed
835
836
   only:
      - triggers
837
838
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
839

Martin Bauer's avatar
Martin Bauer committed
840
clang_4.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
841
   <<: *build_serial_definition
Martin Bauer's avatar
Martin Bauer committed
842
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Christian Godenschwager's avatar
Christian Godenschwager committed
843
844
   only:
      - triggers
845
846
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
847
848

clang_4.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
849
   <<: *build_mpionly_definition
Martin Bauer's avatar
Martin Bauer committed
850
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Christian Godenschwager's avatar
Christian Godenschwager committed
851
852
   only:
      - triggers
853
854
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
855
856

clang_4.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
857
   <<: *build_hybrid_definition
Martin Bauer's avatar
Martin Bauer committed
858
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Sebastian Eibl's avatar
Sebastian Eibl committed
859
860
   only:
      - triggers
Martin Bauer's avatar
Martin Bauer committed
861
862
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
863

Martin Bauer's avatar
Martin Bauer committed
864
clang_4.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
865
   <<: *build_serial_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
866
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Sebastian Eibl's avatar
Sebastian Eibl committed
867
868
   only:
      - triggers
Martin Bauer's avatar
Martin Bauer committed
869
870
871
872
   tags:
      - docker

clang_4.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
873
   <<: *build_mpionly_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
874
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Sebastian Eibl's avatar
Sebastian Eibl committed
875
876
   only:
      - triggers
Martin Bauer's avatar
Martin Bauer committed
877
878
879
880
   tags:
      - docker

clang_4.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
881
   <<: *build_hybrid_dbg_definition
Martin Bauer's avatar
Martin Bauer committed
882
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Sebastian Eibl's avatar
Sebastian Eibl committed
883
884
   only:
      - triggers
Martin Bauer's avatar
Martin Bauer committed
885
886
887
888
   tags:
      - docker

clang_4.0_hybrid_dbg_sp:
889
   <<: *build_hybrid_dbg_sp_definition
Martin Bauer's avatar
Martin Bauer committed
890
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
Sebastian Eibl's avatar
Sebastian Eibl committed
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
   only:
      - triggers
   tags:
      - docker

clang_5.0_serial:
   <<: *build_serial_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   only:
      - triggers
   tags:
      - docker

clang_5.0_mpionly:
   <<: *build_mpionly_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   only:
      - triggers
   tags:
      - docker

clang_5.0_hybrid:
   <<: *build_hybrid_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   tags:
      - docker

clang_5.0_serial_dbg:
   <<: *build_serial_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   tags:
      - docker

clang_5.0_mpionly_dbg:
   <<: *build_mpionly_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   tags:
      - docker

clang_5.0_hybrid_dbg:
   <<: *build_hybrid_dbg_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   tags:
      - docker

clang_5.0_hybrid_dbg_sp:
   <<: *build_hybrid_dbg_sp_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
Martin Bauer's avatar
Martin Bauer committed
939
940
   tags:
      - docker
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987



###############################################################################
##                                                                           ##
##    Documentation                                                         ##
##                                                                           ##
###############################################################################

doc:
   image: walberla/buildenv-ubuntu-basic:16.04
   script:
      - cmake --version
      - doxygen --version
      - mkdir $CI_PROJECT_DIR/build
      - cd $CI_PROJECT_DIR/build
      - cmake ..
      - cmake . -LAH
      - make doc
   tags:
      - docker
   artifacts:
      paths:
        - build/doc
      expire_in: 1 weeks



###############################################################################
##                                                                           ##
##    Code analysis                                                          ##
##                                                                           ##
###############################################################################

cppcheck:
   image: walberla/cppcheck
   script:
      - cppcheck --version
      - cppcheck . --max-configs=10 --enable=warning --enable=style --enable=performance --enable=portability -i src/gui/extern -i src/geometry/structured/extern -i sqlite3.c -i StackWalker.cpp -I src/ -I tests/ -I apps/ -D WALBERLA_BUILD_WITH_MPI -D WALBERLA_BUILD_WITH_METIS -D WALBERLA_BUILD_WITH_BOOST_THREAD -D WALBERLA_BUILD_WITH_PYTHON --xml 2> report.xml
      - cppcheck-htmlreport --file=report.xml --report-dir=html_report --source-dir=.
   artifacts:
      untracked: true
   only:
      - triggers
   tags:
      - docker

Martin Bauer's avatar
Martin Bauer committed
988

989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
coverage:
   image: walberla/coverage
   script:
      - $CXX --version
      - cmake --version
      - gcovr --version
      - mkdir build
      - cd build
      - if dpkg --compare-versions `ompi_info | head -2 | tail -1 | sed 's/[^0-9.]*\([0-9.]*\).*/\1/'` ge 1.10; then export MPIEXEC_PREFLAGS="--allow-run-as-root" ; fi
      - cmake .. -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=ON -DWALBERLA_BUILD_WITH_OPENMP=OFF -DCMAKE_BUILD_TYPE=Debug -DMPIEXEC_PREFLAGS=$MPIEXEC_PREFLAGS
      - cmake . -LAH
      - make -j 8
      - ctest -LE longrun --output-on-failure -j 8_Hybrid
      - cd ..
      - mkdir coverage
      - cd coverage
      - pwd
      - gcovr -r $CI_PROJECT_DIR -f ".*\\/src\\/.*" -k
      - gcovr -r $CI_PROJECT_DIR -f ".*\\/src\\/.*" --html --html-details -o coverage.html -g
   artifacts:
      paths:
         - coverage/
   only:
      - triggers
   tags:
      - docker
   variables:
      CXXFLAGS: "-fprofile-arcs -ftest-coverage -fPIC -O0"
      LDFLAGS: "-fprofile-arcs -ftest-coverage -fPIC -O0"

Martin Bauer's avatar
Martin Bauer committed
1019
1020


1021
1022
###############################################################################
##                                                                           ##
Christian Godenschwager's avatar
Christian Godenschwager committed
1023
##    Windows Builds                                                         ##
1024
##                                                                           ##
Martin Bauer's avatar
Martin Bauer committed
1025
###############################################################################
Christian Godenschwager's avatar
Christian Godenschwager committed
1026
1027
      
     
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038