.gitlab-ci.yml 54.9 KB
Newer Older
1
2
###############################################################################
##                                                                           ##
Michael Kuron's avatar
Michael Kuron committed
3
##    General settings                                                       ##
4
5
6
7
##                                                                           ##
###############################################################################

stages:
8
   - pretest
Sebastian Eibl's avatar
Sebastian Eibl committed
9
10
   - test
   - deploy
11

Sebastian Eibl's avatar
Sebastian Eibl committed
12
   
13
14
15
16
17
18
19
###############################################################################
##                                                                           ##
##    Build templates                                                        ##
##                                                                           ##
###############################################################################

.build_template: &build_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
   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
      - cmake .. -DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_TOOLS=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 -DWALBERLA_BUILD_WITH_METIS=$WALBERLA_BUILD_WITH_METIS -DWALBERLA_BUILD_WITH_PARMETIS=$WALBERLA_BUILD_WITH_PARMETIS -DWALBERLA_ENABLE_GUI=$WALBERLA_ENABLE_GUI
      - 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
38

Martin Bauer's avatar
Martin Bauer committed
39

Sebastian Eibl's avatar
Sebastian Eibl committed
40
.variables: &build_serial_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
41
42
43
44
45
46
47
48
   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"
   WALBERLA_BUILD_WITH_METIS: "OFF"
   WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
49
50
51


.variables: &build_mpionly_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
52
53
54
55
56
57
58
59
   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"
   WALBERLA_BUILD_WITH_METIS: "OFF"
   WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
60
61
62


.variables: &build_hybrid_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
63
64
65
66
67
68
69
70
71
72
   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"
   WALBERLA_BUILD_WITH_METIS: "ON"
   WALBERLA_BUILD_WITH_PARMETIS: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
73
74
75


.variables: &build_serial_dbg_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
76
77
78
79
80
81
82
83
   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"
   WALBERLA_BUILD_WITH_METIS: "OFF"
   WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
84
85
86


.variables: &build_mpionly_dbg_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
87
88
89
90
91
92
93
94
   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"
   WALBERLA_BUILD_WITH_METIS: "OFF"
   WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
95
96
97


.variables: &build_hybrid_dbg_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
98
99
100
101
102
103
104
105
106
107
   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"
   WALBERLA_BUILD_WITH_METIS: "ON"
   WALBERLA_BUILD_WITH_PARMETIS: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
108
109
110


.variables: &build_hybrid_dbg_sp_variables
Sebastian Eibl's avatar
Sebastian Eibl committed
111
112
113
114
115
116
117
118
119
120
   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"
   WALBERLA_BUILD_WITH_METIS: "OFF"
   WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Martin Bauer's avatar
Martin Bauer committed
121
122


123
124
###############################################################################
##                                                                           ##
Martin Bauer's avatar
Martin Bauer committed
125
##    Linux builds                                                           ##
126
127
128
##                                                                           ##
###############################################################################

Martin Bauer's avatar
Martin Bauer committed
129
130
131


intel_16_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
132
133
134
135
136
137
138
139
140
141
142
143
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
144
145

intel_16_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
146
147
148
149
150
151
152
153
154
155
156
157
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
158
159

intel_16_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
160
161
162
163
164
165
166
167
168
169
170
171
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
172
173

intel_16_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
174
175
176
177
178
179
180
181
182
183
184
185
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
186
187

intel_16_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
188
189
190
191
192
193
194
195
196
197
198
199
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
200
201

intel_16_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
202
203
204
205
206
207
208
209
210
211
212
213
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
214
215

intel_16_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
216
217
218
219
220
221
222
223
224
225
226
227
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:16
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
228
229

intel_17_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
230
231
232
233
234
235
236
237
238
239
240
241
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
242
243

intel_17_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
244
245
246
247
248
249
250
251
252
253
254
255
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
256
257

intel_17_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
258
259
260
261
262
263
264
265
266
267
268
269
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
270
271

intel_17_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
272
273
274
275
276
277
278
279
280
281
282
283
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
284
285

intel_17_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
286
287
288
289
290
291
292
293
294
295
296
297
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
298
299

intel_17_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
300
301
302
303
304
305
306
307
308
309
310
311
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
312
313

intel_17_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
314
315
316
317
318
319
320
321
322
323
324
325
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:17
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
326
327

intel_18_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
328
329
330
331
332
333
334
335
336
337
338
339
340
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
341
342

intel_18_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
343
344
345
346
347
348
349
350
351
352
353
354
355
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
356
357

intel_18_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
358
359
360
361
362
363
364
365
366
367
368
369
370
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 1
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
371
372

intel_18_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
373
374
375
376
377
378
379
380
381
382
383
384
385
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
386
387

intel_18_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
388
389
390
391
392
393
394
395
396
397
398
399
400
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
401
402

intel_18_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
403
404
405
406
407
408
409
410
411
412
413
414
415
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
      - intel
Christian Godenschwager's avatar
Christian Godenschwager committed
416
417

intel_18_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
418
419
420
421
422
423
424
425
426
427
428
429
430
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:18
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
      - intel
431
432

intel_19_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
433
434
435
436
437
438
439
440
441
442
443
444
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
445
446

intel_19_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
447
448
449
450
451
452
453
454
455
456
457
458
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
      - intel
459
460

intel_19_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
461
462
463
464
465
466
467
468
469
470
471
472
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
473
474

intel_19_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
475
476
477
478
479
480
481
482
483
484
485
486
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
487
488

intel_19_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
489
490
491
492
493
494
495
496
497
498
499
500
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
501
502

intel_19_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
503
504
505
506
507
508
509
510
511
512
513
514
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
515
516

intel_19_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
517
518
519
520
521
522
523
524
525
526
527
528
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
529

Martin Bauer's avatar
Martin Bauer committed
530
gcc_5_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
531
532
533
534
535
536
537
538
539
540
541
542
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
543
544

gcc_5_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
545
546
547
548
549
550
551
552
553
554
555
556
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
557
558

gcc_5_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
559
560
561
562
563
564
565
566
567
568
569
570
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
571
572

gcc_5_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
573
574
575
576
577
578
579
580
581
582
583
584
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
585
586

gcc_5_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
587
588
589
590
591
592
593
594
595
596
597
598
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Martin Bauer's avatar
Martin Bauer committed
599
600

gcc_5_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
601
602
603
604
605
606
607
608
609
610
611
612
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
613

Martin Bauer's avatar
Martin Bauer committed
614
gcc_5_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
615
616
617
618
619
620
621
622
623
624
625
626
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:5
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
627

Martin Bauer's avatar
Martin Bauer committed
628
gcc_6_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
629
630
631
632
633
634
635
636
637
638
639
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
640
641

gcc_6_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
642
643
644
645
646
647
648
649
650
651
652
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
653
654

gcc_6_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
655
656
657
658
659
660
661
662
663
664
665
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
666
667

gcc_6_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
668
669
670
671
672
673
674
675
676
677
678
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
679
680

gcc_6_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
681
682
683
684
685
686
687
688
689
690
691
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
692
693

gcc_6_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
694
695
696
697
698
699
700
701
702
703
704
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
705

Martin Bauer's avatar
Martin Bauer committed
706
gcc_6_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
707
708
709
710
711
712
713
714
715
716
717
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:6
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
718
719

gcc_7_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
720
721
722
723
724
725
726
727
728
729
730
731
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
732
733

gcc_7_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
734
735
736
737
738
739
740
741
742
743
744
745
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
746
747

gcc_7_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
748
749
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
750
   stage: pretest
Sebastian Eibl's avatar
Sebastian Eibl committed
751
752
753
754
755
756
757
758
759
760
761
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
762
763

gcc_7_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
764
765
766
767
768
769
770
771
772
773
774
775
776
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 1
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
777
778

gcc_7_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
779
780
781
782
783
784
785
786
787
788
789
790
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
791
792

gcc_7_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
793
794
795
796
797
798
799
800
801
802
803
804
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
805
806

gcc_7_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
807
808
809
810
811
812
813
814
815
816
817
818
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - cuda
      - docker
819

Martin Bauer's avatar
Martin Bauer committed
820
clang_3.6_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
821
822
823
824
825
826
827
828
829
830
831
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
832
833

clang_3.6_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
834
835
836
837
838
839
840
841
842
843
844
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
845

Martin Bauer's avatar
Martin Bauer committed
846
clang_3.6_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
847
848
849
850
851
852
853
854
855
856
857
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
858

859
clang_3.6_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
860
861
862
863
864
865
866
867
868
869
870
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.6
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
871

Martin Bauer's avatar
Martin Bauer committed
872
clang_3.7_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
873
874
875
876
877
878
879
880
881
882
883
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
884
885

clang_3.7_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
886
887
888
889
890
891
892
893
894
895
896
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
897
898

clang_3.7_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
899
900
901
902
903
904
905
906
907
908
909
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
910
911

clang_3.7_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
912
913
914
915
916
917
918
919
920
921
922
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.7
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
923
924

clang_3.8_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
925
926
927
928
929
930
931
932
933
934
935
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
936
937

clang_3.8_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
938
939
940
941
942
943
944
945
946
947
948
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
949
950

clang_3.8_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
951
952
953
954
955
956
957
958
959
960
961
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
962

Martin Bauer's avatar
Martin Bauer committed
963
clang_3.8_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
964
965
966
967
968
969
970
971
972
973
974
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
975
976

clang_3.8_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
977
978
979
980
981
982
983
984
985
986
987
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
988
989

clang_3.8_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
990
991
992
993
994
995
996
997
998
999
1000
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1001
1002

clang_3.8_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.8
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1014
1015

clang_3.9_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1027
1028

clang_3.9_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1040
1041

clang_3.9_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
1053

Martin Bauer's avatar
Martin Bauer committed
1054
clang_3.9_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1066
1067

clang_3.9_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1079
1080

clang_3.9_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1092

Martin Bauer's avatar
Martin Bauer committed
1093
clang_3.9_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:3.9
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1105

Martin Bauer's avatar
Martin Bauer committed
1106
clang_4.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1118
1119

clang_4.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1131
1132

clang_4.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1144

Martin Bauer's avatar
Martin Bauer committed
1145
clang_4.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1157
1158

clang_4.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1170
1171

clang_4.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1183
1184

clang_4.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:4.0
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1196
1197

clang_5.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1209
1210

clang_5.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1222
1223

clang_5.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1235
1236

clang_5.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1248
1249

clang_5.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1261
1262

clang_5.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1274
1275

clang_5.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:5.0
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
1287
1288

clang_6.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
1301
1302

clang_6.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
1315
1316

clang_6.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
1329
1330

clang_6.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
1343
1344

clang_6.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
1357
1358

clang_6.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
1371
1372

clang_6.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "ON"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1385
1386

clang_7.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1398
1399

clang_7.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1411
1412

clang_7.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1424
1425

clang_7.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1437
1438

clang_7.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1450
1451

clang_7.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1463
1464

clang_7.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1465
1466
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
1467
   stage: pretest
Sebastian Eibl's avatar
Sebastian Eibl committed
1468
1469
1470
1471
1472
1473
1474
1475
1476
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486



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

doc:
Sebastian Eibl's avatar
Sebastian Eibl committed
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
   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
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
   artifacts:
      paths:
        - build/doc
      expire_in: 1 weeks
1505
1506
1507
1508
1509
1510
1511
1512
1513



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

1514
clang-tidy:
Sebastian Eibl's avatar
Sebastian Eibl committed
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
   script:
      - $CXX --version
      - cmake --version
      - mkdir $CI_PROJECT_DIR/build
      - cd $CI_PROJECT_DIR/build
      - cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWALBERLA_BUFFER_DEBUG=ON -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_TOOLS=ON -DWALBERLA_BUILD_WITH_MPI=ON -DWALBERLA_BUILD_WITH_OPENMP=ON -DCMAKE_BUILD_TYPE=Debug -DWALBERLA_BUILD_WITH_METIS=ON -DWALBERLA_BUILD_WITH_PARMETIS=ON -DWALBERLA_BUILD_WITH_OPENMESH=ON -DWALBERLA_DOUBLE_ACCURACY=ON
      - cmake . -LAH
      - utilities/filterCompileCommands.py compile_commands.json
      - run-clang-tidy.py -quiet | tee clang-tidy-output.txt
1525
1526
1527
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1528
1529
1530
1531
1532
   artifacts:
      paths:
         - $CI_PROJECT_DIR/build/clang-tidy-output.txt
   tags:
      - docker
1533
1534


1535
cppcheck:
Sebastian Eibl's avatar
Sebastian Eibl committed
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
   image: i10git.cs.fau.de:5005/walberla/buildenvs/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:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
1548

Martin Bauer's avatar
Martin Bauer committed
1549

1550
coverage:
Sebastian Eibl's avatar
Sebastian Eibl committed
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
   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:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
   variables:
      CXXFLAGS: "-fprofile-arcs -ftest-coverage -fPIC -O0"
      LDFLAGS: "-fprofile-arcs -ftest-coverage -fPIC -O0"
1580
1581
1582



Sebastian Eibl's avatar
Sebastian Eibl committed
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
###############################################################################
##                                                                           ##
##    Windows Builds                                                         ##
##                                                                           ##
###############################################################################
      
     
.win_build_template: &win_build_definition
   tags:
      - win
   script:
      - export PreferredToolArchitecture=x64
      - export OMP_NUM_THREADS=4
      - export OMP_WAIT_POLICY="PASSIVE"
      - export MSMPI_DISABLE_SHM=1
      - cmake --version
      - mkdir build
      - cd build
      - cmake -LAH -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY -DWARNING_ERROR=ON -G "$CMAKE_GENERATOR" ..
      - MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4
      - ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j 4
      
      
1606
msvc-14_Hybrid_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
      
1619
msvc-14_Hybrid_SP_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
1632
msvc-14_Hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
1645
msvc-14_Serial_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
1658
msvc-14_Serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
1671
msvc-14_MpiOnly_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
1684
msvc-14_MpiOnly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
      BUILD_CONFIGURATION: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1698
msvc-14.1_Hybrid_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1711
msvc-14.1_Hybrid_SP_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1724
msvc-14.1_Hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1737
msvc-14.1_Serial_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1750
msvc-14.1_Serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1763
msvc-14.1_MpiOnly_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
      
Christian Godenschwager's avatar
Christian Godenschwager committed
1776
msvc-14.1_MpiOnly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
   <<: *win_build_definition
   variables:
      CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
      BUILD_CONFIGURATION: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
1788
1789


Michael Kuron's avatar
Michael Kuron committed
1790
1791
1792
1793
1794
1795
1796
1797
###############################################################################
##                                                                           ##
##    macOS Builds                                                           ##
##                                                                           ##
###############################################################################


.mac_build_template: &mac_build_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
   script:
      - export NUM_CORES=$(system_profiler SPHardwareDataType | grep 'Total Number of Cores' | awk '{print $5}')
      - export MAX_BUILD_CORES=$(( $(system_profiler SPHardwareDataType | grep 'Memory' | awk '{print $2}') / 4 ))
      - "[[ $MAX_BUILD_CORES -lt $NUM_CORES ]] && export NUM_BUILD_CORES=$MAX_BUILD_CORES || export NUM_BUILD_CORES=$NUM_CORES"
      - c++ --version
      - cmake --version
      - mpirun --version
      - mkdir build
      - cd build
      - cmake .. -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_TOOLS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_PYTHON=$WALBERLA_BUILD_WITH_PYTHON -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_BUILD_WITH_CUDA=$WALBERLA_BUILD_WITH_CUDA -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DWARNING_ERROR=ON
      - cmake . -LAH
      - make -j $NUM_BUILD_CORES -l $NUM_CORES
      - ctest -LE "$CTEST_EXCLUDE_LABELS|cuda" -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES
   tags:
      - mac
Michael Kuron's avatar
Michael Kuron committed
1813
1814

mac_Serial_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
   <<: *mac_build_definition
   variables:
      CMAKE_BUILD_TYPE: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PYTHON: "ON"
      WALBERLA_BUILD_WITH_CUDA: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
Michael Kuron's avatar
Michael Kuron committed
1826
1827

mac_Serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
   <<: *mac_build_definition
   variables:
      CMAKE_BUILD_TYPE: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PYTHON: "ON"
      WALBERLA_BUILD_WITH_CUDA: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
Michael Kuron's avatar
Michael Kuron committed
1839
1840

mac_MpiOnly_Dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
   <<: *mac_build_definition
   variables:
      CMAKE_BUILD_TYPE: "DebugOptimized"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PYTHON: "ON"
      WALBERLA_BUILD_WITH_CUDA: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
Michael Kuron's avatar
Michael Kuron committed
1852
1853

mac_MpiOnly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
   <<: *mac_build_definition
   variables:
      CMAKE_BUILD_TYPE: "Release"
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PYTHON: "ON"
      WALBERLA_BUILD_WITH_CUDA: "ON"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
Michael Kuron's avatar
Michael Kuron committed
1865
1866


1867
1868
1869
1870
1871
1872
1873
###############################################################################
##                                                                           ##
##    Deploy jobs                                                            ##
##                                                                           ##
###############################################################################

.conda-deploy: &conda_deploy_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
   stage: deploy
   before_script:
      - conda install -y conda-build anaconda-client
      - anaconda login --username $CONDA_DEPLOY_USER --password $CONDA_DEPLOY_PASSWORD --hostname $CI_JOB_ID
      - conda config --set anaconda_upload yes
      - conda config --add channels lssfau
   after_script:
      - anaconda logout
   dependencies: []
   when: manual
   only:
      - master@walberla/walberla   
      - tags@walberla/walberla