.gitlab-ci.yml 59.7 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

Dominik Thoennes's avatar
Dominik Thoennes 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
   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
32
      - 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 -DWALBERLA_BUILD_WITH_CODEGEN=$WALBERLA_BUILD_WITH_CODEGEN
Sebastian Eibl's avatar
Sebastian Eibl committed
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
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
125
126
127
128
129
130
131
132
133
134
.variables: &build_stl_debug_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"
   WALBERLA_BUILD_WITH_CUDA: "OFF"
   WALBERLA_BUILD_WITH_METIS: "OFF"
   WALBERLA_BUILD_WITH_PARMETIS: "OFF"
   WALBERLA_BUILD_WITH_PYTHON: "OFF"
Martin Bauer's avatar
Martin Bauer committed
135

136
137
###############################################################################
##                                                                           ##
Martin Bauer's avatar
Martin Bauer committed
138
##    Linux builds                                                           ##
139
140
141
##                                                                           ##
###############################################################################

Martin Bauer's avatar
Martin Bauer committed
142
143
144


intel_17_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
145
146
147
148
149
150
151
152
153
154
155
156
   <<: *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
157
158

intel_17_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
159
160
161
162
163
164
165
166
167
168
169
170
   <<: *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
171
172

intel_17_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
173
174
175
176
177
178
179
180
181
182
183
184
   <<: *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
185
186

intel_17_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
187
188
189
190
191
192
193
194
195
196
197
198
   <<: *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
199
200

intel_17_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
201
202
203
204
205
206
207
208
209
210
211
212
   <<: *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
213
214

intel_17_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
215
216
217
218
219
220
   <<: *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
221
   except:
Sebastian Eibl's avatar
Sebastian Eibl committed
222
      variables:
223
         - $DISABLE_PER_COMMIT_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
224
225
226
   tags:
      - docker
      - intel
Martin Bauer's avatar
Martin Bauer committed
227
228

intel_17_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
229
230
231
232
233
234
235
236
237
238
239
240
   <<: *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
241
242

intel_18_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
243
244
245
246
247
248
249
250
251
252
253
254
255
   <<: *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
256
257

intel_18_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
258
259
260
261
262
263
264
265
266
267
268
269
270
   <<: *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
271
272

intel_18_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
273
274
275
276
277
278
279
280
281
282
283
284
285
   <<: *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
286
287

intel_18_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
288
289
290
291
292
293
294
295
296
297
298
299
300
   <<: *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
301
302

intel_18_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
303
304
305
306
307
308
309
310
311
312
313
314
315
   <<: *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
316
317

intel_18_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
318
319
320
321
322
323
324
325
326
327
328
329
330
   <<: *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
331
332

intel_18_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
333
334
335
336
337
338
339
340
341
342
343
344
345
   <<: *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
346
347

intel_19_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
348
349
350
351
352
353
354
355
356
357
358
359
   <<: *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
360
361

intel_19_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
362
363
364
365
366
367
368
369
370
371
372
373
   <<: *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
374
375

intel_19_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
376
377
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
378
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
379
      - pip3 install lbmpy
380
381
382
383
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
384
385
386
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
387
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
388
389
390
391
392
393
394
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
395
396

intel_19_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
397
398
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
399
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
400
      - pip3 install lbmpy
401
402
403
404
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
405
406
407
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
408
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
409
410
411
412
413
414
415
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
416
417

intel_19_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
418
419
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
420
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
421
      - pip3 install lbmpy
422
423
424
425
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
426
427
428
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
429
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
430
431
432
433
434
435
436
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
437
438

intel_19_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
439
440
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
441
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
442
      - pip3 install lbmpy
443
444
445
446
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
447
448
449
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
450
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
451
452
453
454
455
456
457
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
      - intel
458
459

intel_19_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
460
461
462
463
464
465
466
467
468
469
470
471
   <<: *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
472

Martin Bauer's avatar
Martin Bauer committed
473
gcc_5_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
474
475
476
477
478
479
480
481
482
483
484
485
   <<: *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
486
487

gcc_5_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
488
489
490
491
492
493
494
495
496
497
498
499
   <<: *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
500
501

gcc_5_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
502
503
504
505
506
507
508
509
510
511
512
513
   <<: *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
514
515

gcc_5_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
516
517
518
519
520
521
522
523
524
525
526
527
   <<: *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
528
529

gcc_5_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
530
531
532
533
534
535
536
537
538
539
540
541
   <<: *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
542
543

gcc_5_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
544
545
546
547
548
549
550
551
552
553
554
555
   <<: *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
556

Martin Bauer's avatar
Martin Bauer committed
557
gcc_5_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
558
559
560
561
562
563
564
565
566
567
568
569
   <<: *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
570

Martin Bauer's avatar
Martin Bauer committed
571
gcc_6_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
572
573
574
575
576
577
578
579
580
581
582
   <<: *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
583
584

gcc_6_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
585
586
587
588
589
590
591
592
593
594
595
   <<: *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
596
597

gcc_6_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
598
599
600
601
602
603
604
605
606
607
608
   <<: *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
609
610

gcc_6_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
611
612
613
614
615
616
617
618
619
620
621
   <<: *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
622
623

gcc_6_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
624
625
626
627
628
629
630
631
632
633
634
   <<: *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
635
636

gcc_6_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
637
638
639
640
641
642
643
644
645
646
647
   <<: *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
648

Martin Bauer's avatar
Martin Bauer committed
649
gcc_6_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
650
651
652
653
654
655
656
657
658
659
660
   <<: *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
661
662

gcc_7_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
663
664
665
666
667
668
669
670
671
672
673
674
   <<: *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
675
676

gcc_7_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
677
678
679
680
681
682
683
684
685
686
687
688
   <<: *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
689
690

gcc_7_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
691
692
693
694
695
696
697
698
699
700
701
702
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
      <<: *build_hybrid_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
703
704

gcc_7_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
705
706
707
708
709
710
711
712
713
714
715
716
   <<: *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
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
717
718

gcc_7_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
719
720
721
722
723
724
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
725
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
726
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
727
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
728
729
730
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
731
732

gcc_7_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
733
734
735
736
737
738
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
739
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
740
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
741
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
742
743
744
   tags:
      - cuda
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
745
746

gcc_7_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
747
748
749
750
751
752
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - cuda
      - docker

gcc_8_serial:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_8_mpionly:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_8_hybrid:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
Sebastian Eibl's avatar
Sebastian Eibl committed
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_8_serial_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_8_mpionly_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_8_hybrid_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_8_hybrid_dbg_sp:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_serial:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_mpionly:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_hybrid:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
Sebastian Eibl's avatar
Sebastian Eibl committed
880
   stage: pretest
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
881
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
882
      - pip3 install lbmpy
883
884
885
886
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
887
888
889
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
890
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
891
892
893
894
895
896
897
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

Sebastian Eibl's avatar
Sebastian Eibl committed
898
gcc_9_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
899
   <<: *build_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
900
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
901
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
902
      - pip3 install lbmpy
903
904
905
906
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
907
908
909
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
910
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
911
912
913
914
915
916
917
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

Sebastian Eibl's avatar
Sebastian Eibl committed
918
gcc_9_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
919
   <<: *build_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
920
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
921
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
922
      - pip3 install lbmpy
923
924
925
926
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
927
928
929
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
930
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
931
932
933
934
935
936
937
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

Sebastian Eibl's avatar
Sebastian Eibl committed
938
gcc_9_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
939
   <<: *build_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
940
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
941
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
942
      - pip3 install lbmpy
943
944
945
946
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
947
948
949
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
950
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
951
952
953
954
955
956
957
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

Sebastian Eibl's avatar
Sebastian Eibl committed
958
gcc_9_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
959
   <<: *build_definition
Sebastian Eibl's avatar
Sebastian Eibl committed
960
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
Sebastian Eibl's avatar
Sebastian Eibl committed
961
962
963
964
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
Sebastian Eibl's avatar
Sebastian Eibl committed
965
966
967
968
969
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
970

Martin Bauer's avatar
Martin Bauer committed
971
clang_4.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
972
973
974
975
976
977
978
979
980
981
982
   <<: *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
983
984

clang_4.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
985
986
987
988
989
990
991
992
993
994
995
   <<: *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
996
997

clang_4.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
   <<: *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
1009

Martin Bauer's avatar
Martin Bauer committed
1010
clang_4.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
   <<: *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
1022
1023

clang_4.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
   <<: *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
1035
1036

clang_4.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1037
1038
1039
1040
1041
1042
   <<: *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
1043
   except:
Sebastian Eibl's avatar
Sebastian Eibl committed
1044
      variables:
1045
         - $DISABLE_PER_COMMIT_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1046
1047
   tags:
      - docker
Martin Bauer's avatar
Martin Bauer committed
1048
1049

clang_4.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
   <<: *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
1061
1062

clang_5.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
   <<: *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
1074
1075

clang_5.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
   <<: *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
1087
1088

clang_5.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
   <<: *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
1100
1101

clang_5.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
   <<: *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
1113
1114

clang_5.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
   <<: *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
1126
1127

clang_5.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
   <<: *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
1139
1140

clang_5.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
   <<: *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
1152
1153

clang_6.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
   <<: *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
1166
1167

clang_6.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
   <<: *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
1180
1181

clang_6.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
   <<: *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
1194
1195

clang_6.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
   <<: *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
1208
1209

clang_6.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
   <<: *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
1222
1223

clang_6.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
   <<: *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
1236
1237

clang_6.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
   <<: *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
1250
1251

clang_7.0_serial:
Sebastian Eibl's avatar
Sebastian Eibl committed
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
   <<: *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
1263
1264

clang_7.0_mpionly:
Sebastian Eibl's avatar
Sebastian Eibl committed
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
   <<: *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
1276
1277

clang_7.0_hybrid:
Sebastian Eibl's avatar
Sebastian Eibl committed
1278
1279
1280
1281
1282
1283
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
1284
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
1285
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
1286
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1287
1288
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1289
1290

clang_7.0_serial_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1291
1292
1293
1294
1295
1296
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
1297
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
1298
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
1299
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1300
1301
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1302
1303

clang_7.0_mpionly_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1304
1305
1306
1307
1308
1309
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
1310
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
1311
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
1312
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1313
1314
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1315
1316

clang_7.0_hybrid_dbg:
Sebastian Eibl's avatar
Sebastian Eibl committed
1317
1318
1319
1320
1321
1322
   <<: *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
Sebastian Eibl's avatar
Sebastian Eibl committed
1323
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
1324
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
1325
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1326
1327
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
1328
1329

clang_7.0_hybrid_dbg_sp:
Sebastian Eibl's avatar
Sebastian Eibl committed
1330
1331
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
Sebastian Eibl's avatar
Sebastian Eibl committed
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

clang_8.0_serial:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

clang_8.0_mpionly:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

clang_8.0_hybrid:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
Sebastian Eibl's avatar
Sebastian Eibl committed
1375
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
1376
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
1377
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
   tags:
      - docker

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

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

clang_8.0_hybrid_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
Sebastian Eibl's avatar
Sebastian Eibl committed
1414
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
1415
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
1416
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1417
1418
1419
1420
1421
1422
   tags:
      - docker

clang_8.0_hybrid_dbg_sp:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
Sebastian Eibl's avatar
Sebastian Eibl committed
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

clang_9.0_serial:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
   variables:
      <<: *build_serial_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

clang_9.0_mpionly:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
   variables:
      <<: *build_mpionly_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

clang_9.0_hybrid:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
1462
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
1463
      - pip3 install lbmpy
1464
1465
1466
1467
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
1468
1469
1470
   variables:
      <<: *build_hybrid_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
1471
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

clang_9.0_serial_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
1482
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
1483
      - pip3 install lbmpy
1484
1485
1486
1487
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
1488
1489
1490
   variables:
      <<: *build_serial_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
1491
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

clang_9.0_mpionly_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
1502
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
1503
      - pip3 install lbmpy
1504
1505
1506
1507
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
1508
1509
1510
   variables:
      <<: *build_mpionly_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
1511
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

clang_9.0_hybrid_dbg:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
1522
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
1523
      - pip3 install lbmpy
1524
1525
1526
1527
      - cd python
      - python3 -m unittest discover pystencils_walberla/
      - python3 -m unittest discover lbmpy_walberla/
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
1528
1529
1530
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
1531
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker

clang_9.0_hybrid_dbg_sp:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
1542
   stage: pretest
Sebastian Eibl's avatar
Sebastian Eibl committed
1543
1544
1545
1546
1547
1548
1549
1550
1551
   variables:
      <<: *build_hybrid_dbg_sp_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: 0
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker
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
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
gcc_8_hybrid_dbg_noboost:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
      - rm -rf /opt/boost /usr/include/boost
   variables:
      <<: *build_hybrid_dbg_variables
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_ENABLE_GUI: "OFF"
      WALBERLA_BUILD_WITH_PYTHON: "OFF"
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
   tags:
      - docker



###############################################################################
##                                                                           ##
##    STL Debug Build                                                        ##
##                                                                           ##
###############################################################################

gcc_9_stl_debug:
   <<: *build_definition
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
      - rm -rf /opt/boost /usr/include/boost
   variables:
      <<: *build_stl_debug_variables
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker



1594
1595
1596
1597
1598
1599
1600
###############################################################################
##                                                                           ##
##    Documentation                                                         ##
##                                                                           ##
###############################################################################

doc:
Sebastian Eibl's avatar
Sebastian Eibl committed
1601
   image: i10git.cs.fau.de:5005/walberla/buildenvs/ubuntu:18.04
Sebastian Eibl's avatar
Sebastian Eibl committed
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
   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:
Dominik Thoennes's avatar
Dominik Thoennes committed
1617
        - build/doc
Sebastian Eibl's avatar
Sebastian Eibl committed
1618
      expire_in: 1 weeks
1619
1620
1621
1622
1623
1624
1625
1626
1627



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

1628
clang-tidy:
Sebastian Eibl's avatar
Sebastian Eibl committed
1629
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
Sebastian Eibl's avatar
Sebastian Eibl committed
1630
1631
   script:
      - $CXX --version
Sebastian Eibl's avatar
Sebastian Eibl committed
1632
      - clang-tidy -version
Sebastian Eibl's avatar
Sebastian Eibl committed
1633
1634
1635
1636
1637
1638
1639
      - 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
1640
1641
1642
   except:
      variables:
         - $DISABLE_PER_COMMIT_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
1643
1644
1645
1646
1647
   artifacts:
      paths:
         - $CI_PROJECT_DIR/build/clang-tidy-output.txt
   tags:
      - docker
1648
1649


1650
cppcheck:
Sebastian Eibl's avatar
Sebastian Eibl committed
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
   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
1663

Martin Bauer's avatar
Martin Bauer committed
1664

1665
coverage:
Sebastian Eibl's avatar
Sebastian Eibl committed
1666
1667
1668
1669
1670
1671
1672
1673
   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
1674
      - 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 -DWALBERLA_BUILD_WITH_CODEGEN=$WALBERLA_BUILD_WITH_CODEGEN
Sebastian Eibl's avatar
Sebastian Eibl committed
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
      - 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"
1695
1696