3
3
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
4
4
# https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/anaconda
5
5
6
+ # test every commit (implicit branches and explicit tags) for breaking
7
+ # changes in commit
6
8
trigger :
7
9
tags :
8
10
include :
9
11
- ' *'
10
12
13
+ # test master nightly for breaking changes in dependencies
11
14
schedules :
12
15
- cron : " 0 0 * * *"
13
16
displayName : Daily midnight build
@@ -34,13 +37,8 @@ stages:
34
37
steps :
35
38
- template : templates/install.yml
36
39
parameters :
37
- python_version : 3
38
40
conda_packages : ' hunspell'
39
-
40
- - bash : |
41
- source activate myEnvironment
42
- pip install pyspelling
43
- displayName: Install pip packages
41
+ pip_packages : pyspelling
44
42
45
43
- bash : |
46
44
wget -O en_US.aff https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.aff?id=a4473e06b56bfe35187e302754f6baaa8d75e54f
@@ -62,13 +60,8 @@ stages:
62
60
steps :
63
61
- template : templates/install.yml
64
62
parameters :
65
- python_version : 3
66
63
conda_packages : ' numpy'
67
-
68
- - bash : |
69
- source activate myEnvironment
70
- pip install pylint
71
- displayName: Install pip packages
64
+ pip_packages : pylint
72
65
73
66
- bash : |
74
67
source activate myEnvironment
@@ -85,13 +78,8 @@ stages:
85
78
steps :
86
79
- template : templates/install.yml
87
80
parameters :
88
- python_version : 3
89
81
conda_packages : ' numpy'
90
-
91
- - bash : |
92
- source activate myEnvironment
93
- pip install flake8
94
- displayName: Install pip packages
82
+ pip_packages : flake8
95
83
96
84
- bash : |
97
85
source activate myEnvironment
@@ -106,74 +94,50 @@ stages:
106
94
matrix :
107
95
linux-py3k-petsc :
108
96
image : ubuntu-latest
109
- python_version : 3
110
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py petsc4py mayavi "gmsh <4.0|>=4.5.2"'
111
97
FIPY_SOLVERS : petsc
112
98
MPIRUN :
113
99
linux-py3k-petsc-parallel :
114
100
image : ubuntu-latest
115
- python_version : 3
116
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py petsc4py mayavi "gmsh <4.0|>=4.5.2"'
117
101
FIPY_SOLVERS : petsc
118
102
MPIRUN : ' mpirun -np 2'
119
103
linux-py3k-scipy :
120
104
image : ubuntu-latest
121
- python_version : 3
122
- conda_packages : ' numpy scipy matplotlib-base future packaging mayavi "gmsh <4.0|>=4.5.2"'
123
105
FIPY_SOLVERS : scipy
124
106
MPIRUN :
125
107
linux-py3k-trilinos :
126
108
image : ubuntu-latest
127
- python_version : 3
128
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py pytrilinos mayavi "gmsh <4.0|>=4.5.2"'
129
109
FIPY_SOLVERS : trilinos
130
110
MPIRUN :
131
111
linux-py3k-trilinos-parallel :
132
112
image : ubuntu-latest
133
- python_version : 3
134
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py pytrilinos mayavi "gmsh <4.0|>=4.5.2"'
135
113
FIPY_SOLVERS : trilinos
136
114
MPIRUN : ' mpirun -np 2'
137
115
macos-py27-pysparse :
138
116
image : macos-latest
139
- python_version : 2.7
140
- conda_packages : ' numpy scipy matplotlib-base future packaging pysparse mayavi "traitsui<7.0.0" "gmsh<4.0"'
141
117
FIPY_SOLVERS : pysparse
142
118
MPIRUN :
143
119
macos-py3k-petsc :
144
120
image : macos-latest
145
- python_version : 3
146
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py petsc4py mayavi "gmsh <4.0|>=4.5.2"'
147
121
FIPY_SOLVERS : petsc
148
122
MPIRUN :
149
123
macos-py3k-petsc-parallel :
150
124
image : macos-latest
151
- python_version : 3
152
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py petsc4py mayavi "gmsh <4.0|>=4.5.2"'
153
125
FIPY_SOLVERS : petsc
154
126
MPIRUN : ' mpirun -np 2'
155
127
macos-py3k-scipy :
156
128
image : macos-latest
157
- python_version : 3
158
- conda_packages : ' numpy scipy matplotlib-base future packaging mayavi "gmsh <4.0|>=4.5.2"'
159
129
FIPY_SOLVERS : scipy
160
130
MPIRUN :
161
131
macos-py3k-trilinos :
162
132
image : macos-latest
163
- python_version : 3
164
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py pytrilinos mayavi "gmsh <4.0|>=4.5.2"'
165
133
FIPY_SOLVERS : trilinos
166
134
MPIRUN :
167
135
macos-py3k-trilinos-parallel :
168
136
image : macos-latest
169
- python_version : 3
170
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py pytrilinos mayavi "gmsh <4.0|>=4.5.2"'
171
137
FIPY_SOLVERS : trilinos
172
138
MPIRUN : ' mpirun -np 2'
173
139
windows-py3k-scipy :
174
140
image : windows-latest
175
- python_version : 3
176
- conda_packages : ' numpy scipy matplotlib-base future packaging mayavi "gmsh <4.0|>=4.5.2"'
177
141
FIPY_SOLVERS : scipy
178
142
MPIRUN :
179
143
@@ -183,12 +147,13 @@ stages:
183
147
steps :
184
148
- template : templates/install.yml
185
149
parameters :
186
- python_version : $(python_version)
187
- conda_packages : $(conda_packages)
150
+ solver : $(FIPY_SOLVERS)
188
151
189
152
- bash : |
190
- conda env export --name myEnvironment
191
- displayName: Environment
153
+ source activate myEnvironment
154
+ # OK if this fails
155
+ pip install scikit-fmm || true
156
+ displayName: Install pip packages
192
157
193
158
- bash : |
194
159
source activate myEnvironment
@@ -209,14 +174,10 @@ stages:
209
174
matrix :
210
175
unix :
211
176
image : ubuntu-latest
212
- python_version : 3.10
213
- conda_packages : ' numpy scipy matplotlib-base future packaging mpich mpi4py petsc4py mayavi "gmsh <4.0|>=4.5.2"'
214
177
FIPY_SOLVERS : petsc
215
178
MPIRUN :
216
179
windows :
217
180
image : windows-latest
218
- python_version : 3.10
219
- conda_packages : ' numpy scipy matplotlib-base future packaging mayavi "gmsh <4.0|>=4.5.2"'
220
181
FIPY_SOLVERS : scipy
221
182
MPIRUN :
222
183
@@ -226,8 +187,7 @@ stages:
226
187
steps :
227
188
- template : templates/install.yml
228
189
parameters :
229
- python_version : $(python_version)
230
- conda_packages : $(conda_packages)
190
+ solver : $(FIPY_SOLVERS)
231
191
232
192
- bash : git fetch origin --tags --force
233
193
displayName : Fetch tags
0 commit comments