This repository was archived by the owner on Aug 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
233 lines (193 loc) · 10.6 KB
/
Copy path.travis.yml
File metadata and controls
233 lines (193 loc) · 10.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
sudo: true
dist: bionic
language: python
python:
- "3.8"
services:
- docker
install:
- pip install Jinja2 # Required for README templates when using push.py
jobs:
allow_failures:
# Currently problematic jobs that will not affect the build status
# To add a job here, list its *exact* name.
# Current short-term failures (to be fixed soon):
- name: "[18.04] nutils <-> OpenFOAM [failure allowed]"
# Unstable builds (allowed to fail long-term)
- name: "[18.04] SU2 <-> Calculix [unstable] [failure allowed]"
- name: "[20.04 PETSc] SU2 <-> Calculix [unstable] [failure allowed]"
include:
- stage: Building preCICE
name: "Arch Linux"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Arch --docker-username $DOCKER_USERNAME
- python push_precice.py --dockerfile precice/Dockerfile.Arch --docker-username $DOCKER_USERNAME
- python push.py
- stage: Building preCICE
name: "Ubuntu 18.04 home [PETSc from source]"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.home --petsc yes --docker-username $DOCKER_USERNAME
- python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.home --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- stage: Building preCICE
name: "Ubuntu 18.04.package"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.package --docker-username $DOCKER_USERNAME
- python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.package --docker-username $DOCKER_USERNAME
- python push.py
- stage: Building preCICE
name: "Ubuntu 20.04.package [PETSc from APT]"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu2004.package --petsc yes --docker-username $DOCKER_USERNAME
- python push_precice.py --dockerfile precice/Dockerfile.Ubuntu2004.package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[Build preCICE on fork] Using cached version"
if: fork = true
script: true
- stage: Building adapters
name: "[18.04] SU2 adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[20.04] SU2 adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] deal.ii adapter [3D]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter_3D --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter_3D --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] deal.ii adapter [2D]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[20.04] deal.ii adapter [2D][PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME --base-solver precice/deal.ii-ubuntu2004
- python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] OpenFOAM adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] OpenFOAM adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[20.04] OpenFOAM adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] FEniCS adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.fenics-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.fenics-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] Code_Aster adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.codeaster-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.codeaster-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] CalculiX adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py
- name: "[18.04] CalculiX adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[20.04] CalculiX adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py
- name: "[Build adapters on fork] Using cached version"
if: fork = true
script: true
- stage: Tests
name: "[18.04] SU2 <-> Calculix [unstable] [failure allowed]"
script:
- python system_testing.py -s su2-ccx -v
- python push.py
- name: "[20.04 PETSc] SU2 <-> Calculix [unstable] [failure allowed]"
script:
- python system_testing.py -s su2-ccx --base Ubuntu2004.package.PETSc -v
- python push.py
- name: "[18.04] OpenFOAM <-> OpenFOAM"
script:
- python system_testing.py -s of-of -v
- python push.py
- name: "[18.04] Calculix <-> OpenFOAM"
script:
- python system_testing.py -s of-ccx -v
- python push.py
- name: "[18.04] FEniCS <-> FEniCS"
script:
- python system_testing.py -s fe-fe --base Ubuntu1804.package -v
- python push.py
- name: "[18.04] Bindings/Solverdummies"
script:
- python system_testing.py -s bindings -v
- python push.py
- name: "[18.04] deal.ii <-> OpenFOAM [FSI][3D]"
script:
- python system_testing.py -s dealii-of_3D -v
- python push.py
- name: "[18.04] deal.ii <-> OpenFOAM [FSI][2D]"
script:
- python system_testing.py -s dealii-of -v
- python push.py
- name: "[20.04 PETSc] deal.ii <-> OpenFOAM [FSI][2D]"
script:
- python system_testing.py -s dealii-of --base Ubuntu2004.package.PETSc -v
- python push.py
- name: "[18.04] nutils <-> OpenFOAM [failure allowed]"
script:
- python system_testing.py -s nutils-of -v
- python push.py
- name: "[18.04] OpenFOAM <-> OpenFOAM [nearest projection]"
script:
- python system_testing.py -s of-of_np -v
- python push.py
- name: "[18.04] OpenFOAM <-> Code_Aster"
script:
- python system_testing.py -s of-ca -v
- python push.py
- name: "[18.04] Elastictube1D - Python"
script:
- python system_testing.py -s 1dtube_py -v
- python push.py
- name: "[18.04] Elastictube1D - C++"
script:
- python system_testing.py -s 1dtube_cxx -v
- python push.py
- name: "[18.04 PETSc] OpenFOAM <-> CalculiX [FSI]"
script:
- python system_testing.py -s of-ccx_fsi --base Ubuntu1804.home.PETSc -v
- python push.py