18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- name : Checkout Slycot
21
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v3
22
22
with :
23
23
fetch-depth : 0
24
24
submodules : ' recursive'
57
57
- ' ubuntu'
58
58
- ' macos'
59
59
python :
60
- - ' 3.7 '
60
+ - ' 3.8 '
61
61
- ' 3.11'
62
62
bla_vendor : [ 'unset' ]
63
63
include :
79
79
80
80
steps :
81
81
- name : Checkout Slycot
82
- uses : actions/checkout@v2
82
+ uses : actions/checkout@v3
83
83
with :
84
84
fetch-depth : 0
85
85
submodules : ' recursive'
@@ -126,7 +126,7 @@ jobs:
126
126
mkdir -p ${wheeldir}
127
127
cp ./slycot*.whl ${wheeldir}/
128
128
- name : Save wheel
129
- uses : actions/upload-artifact@v2
129
+ uses : actions/upload-artifact@v3
130
130
with :
131
131
name : slycot-wheels
132
132
path : slycot-wheels
@@ -148,7 +148,7 @@ jobs:
148
148
149
149
steps :
150
150
- name : Checkout Slycot
151
- uses : actions/checkout@v2
151
+ uses : actions/checkout@v3
152
152
with :
153
153
fetch-depth : 0
154
154
submodules : ' recursive'
@@ -168,15 +168,15 @@ jobs:
168
168
run : |
169
169
set -e
170
170
numpyversion=$(python -c 'import numpy; print(numpy.version.version)')
171
- conda build --python "${{ matrix.python }}" --numpy $numpyversion conda-recipe
171
+ conda mambabuild --python "${{ matrix.python }}" --numpy $numpyversion conda-recipe
172
172
# preserve directory structure for custom conda channel
173
173
find "${CONDA_PREFIX}/conda-bld" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do
174
174
conda_platform=$(basename $(dirname "${conda_pkg}"))
175
175
mkdir -p "slycot-conda-pkgs/${conda_platform}"
176
176
cp "${conda_pkg}" "slycot-conda-pkgs/${conda_platform}/"
177
177
done
178
178
- name : Save to local conda pkg channel
179
- uses : actions/upload-artifact@v2
179
+ uses : actions/upload-artifact@v3
180
180
with :
181
181
name : slycot-conda-pkgs
182
182
path : slycot-conda-pkgs
@@ -190,16 +190,14 @@ jobs:
190
190
matrix : ${{ steps.set-matrix.outputs.matrix }}
191
191
steps :
192
192
- name : Checkout Slycot
193
- uses : actions/checkout@v2
193
+ uses : actions/checkout@v3
194
194
- name : Download wheels (if any)
195
- uses : actions/download-artifact@v2
195
+ uses : actions/download-artifact@v3
196
196
with :
197
197
name : slycot-wheels
198
198
path : slycot-wheels
199
199
- id : set-matrix
200
- run : |
201
- matrix=$(python3 .github/scripts/set-pip-test-matrix.py)
202
- echo "::set-output name=matrix::$matrix"
200
+ run : echo "matrix=$(python3 .github/scripts/set-pip-test-matrix.py)" >> $GITHUB_OUTPUT
203
201
204
202
create-conda-test-matrix :
205
203
name : Create conda test matrix
@@ -210,16 +208,14 @@ jobs:
210
208
matrix : ${{ steps.set-matrix.outputs.matrix }}
211
209
steps :
212
210
- name : Checkout Slycot
213
- uses : actions/checkout@v2
211
+ uses : actions/checkout@v3
214
212
- name : Download conda packages
215
- uses : actions/download-artifact@v2
213
+ uses : actions/download-artifact@v3
216
214
with :
217
215
name : slycot-conda-pkgs
218
216
path : slycot-conda-pkgs
219
217
- id : set-matrix
220
- run : |
221
- matrix=$(python3 .github/scripts/set-conda-test-matrix.py)
222
- echo "::set-output name=matrix::$matrix"
218
+ run : echo "matrix=$(python3 .github/scripts/set-conda-test-matrix.py)" >> $GITHUB_OUTPUT
223
219
224
220
225
221
test-wheel :
@@ -234,11 +230,11 @@ jobs:
234
230
235
231
steps :
236
232
- name : Checkout Slycot
237
- uses : actions/checkout@v2
233
+ uses : actions/checkout@v3
238
234
with :
239
235
path : slycot-src
240
236
- name : Checkout python-control
241
- uses : actions/checkout@v2
237
+ uses : actions/checkout@v3
242
238
with :
243
239
repository : ' python-control/python-control'
244
240
path : python-control
@@ -276,7 +272,7 @@ jobs:
276
272
exit 1 ;;
277
273
esac
278
274
- name : Download wheels
279
- uses : actions/download-artifact@v2
275
+ uses : actions/download-artifact@v3
280
276
with :
281
277
name : slycot-wheels
282
278
path : slycot-wheels
@@ -313,11 +309,11 @@ jobs:
313
309
314
310
steps :
315
311
- name : Checkout Slycot
316
- uses : actions/checkout@v2
312
+ uses : actions/checkout@v3
317
313
with :
318
314
path : slycot-src
319
315
- name : Checkout python-control
320
- uses : actions/checkout@v2
316
+ uses : actions/checkout@v3
321
317
with :
322
318
repository : ' python-control/python-control'
323
319
path : python-control
@@ -335,7 +331,7 @@ jobs:
335
331
channel-priority : strict
336
332
auto-activate-base : false
337
333
- name : Download conda packages
338
- uses : actions/download-artifact@v2
334
+ uses : actions/download-artifact@v3
339
335
with :
340
336
name : slycot-conda-pkgs
341
337
path : slycot-conda-pkgs
0 commit comments