forked from gladk/palabos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
160 lines (146 loc) · 3.52 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# This file is a template, and might need editing before it works on your project.
# use the official gcc image, based on debian
# can use verions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/
image: registry.gitlab.com/flowkit/palabos:latest
cache:
untracked: true
stages:
- buildShowCases
- buildTutorials
- buildCodesByTopic
- buildStl
#test_pypal:
# stage: build
#
# script:
# - apt-get update
# - apt-get install -y swig python-dev
# - export PALABOS_ROOT=`pwd`
# - git clone git@gitlab.com:flowkit/pypal-web.git
# - cd pypal-web/scripted-palabos/src
# - export PYPAL_ROOT=`pwd`
# - make
## Test compilation in the examples/showCases directory
showCases:
stage: buildShowCases
script:
- pwd
- cd examples/showCases/cavity3d
- make
- cd ../womersley
- make
- cd ../rectangularChannel3d
- make
- cd ../poiseuille
- make
- cd ../carreauPoiseuille
- make
- cd ../boussinesqThermal3d
- make
- cd ../rectangularChannel3d
- make
- cd ../boussinesqThermal2d
- make
- cd ../collidingBubbles3d
- make
- cd ../movingWall
- make
- cd ../multiComponent3d
- make
- cd ../multiComponent2d
- make
- cd ../cavity2d
- make
- cd ../externalFlowAroundObstacle
- make
- cd ../aneurysm
- make
- cd ../particlesInCone
- make
- cd ../heatedObjectInChannel
- make
- cd ../cylinder2d
- make
- cd ../generalExternalFlow
- make
- cd ../vofMultiPhase
- make
## Test compilation in the examples/tutorial directory
tutorial:
stage: buildTutorials
script:
- pwd
- cd examples/tutorial/permeability
- make
- cd ../tutorial_1
- make
- cd ../tutorial_2
- make
## Test compilation in the examples/codesByTopic directory
codesByTopic:
stage: buildCodesByTopic
script:
- pwd
- cd examples/codesByTopic/coProcessor
- make
- cd ../transientStatistics
- make
- cd ../particlesInTube
- make
- cd ../marchingCube
- make
- cd ../complexNumbers
- make
- cd ../couplings
- make
- cd ../io
- make
- cd ../shanChenMultiPhase
- make
- cd ../copying
- make
- cd ../dynamicsInfo
- make
- cd ../navierStokesModels
- make
- cd ../bounceBack
- make
- cd ../dotList
- make
- cd ../externalMacroscopicVariables
- make
- cd ../asinariDynamics
- make
- cd ../scalarField
- make
- cd ../dataAnalysis
- make
- cd ../boundaryCondition
- make
- cd ../d3q13
- make
- cd ../linearAlgebra
- make
- cd ../userInput
- make
- cd ../multiBlock
- make
- cd ../smagorinskyModel
- make
- cd ../cutTriangularSurface
- make
- cd ../reparallelize
- make
## Test compilation in the examples/showCases directory
stl:
stage: buildStl
script:
- pwd
- cd utility/stl
- sh buildAll.sh
# run tests using the binary built before
#test:
# stage: test
# script:
# - ./runmytests.sh