@@ -113,13 +113,16 @@ jobs:
113
113
needs : [ swig_Linux ]
114
114
runs-on : ubuntu-20.04
115
115
if : ${{ github.event_name == 'pull_request' }}
116
+ strategy :
117
+ matrix :
118
+ python-version : [3.6, 3.7, 3.8, 3.9]
116
119
steps :
117
120
- uses : actions/checkout@v2
118
121
with :
119
122
fetch-depth : 0
120
123
- uses : actions/setup-python@v2
121
124
with :
122
- python-version : 3.6
125
+ python-version : ${{ matrix.python-version }}
123
126
- run : |
124
127
python --version
125
128
pip --version
@@ -135,7 +138,7 @@ jobs:
135
138
- id : get_numpy
136
139
uses : ./.github/actions/numpy_vers
137
140
with :
138
- pyver : 3.6
141
+ pyver : ${{ matrix.python-version }}
139
142
- name : Make decoder package
140
143
run : |
141
144
NUMPY_BUILD_VERSION=${{ steps.get_numpy.outputs.build_version }} \
@@ -651,13 +654,16 @@ jobs:
651
654
needs : [ swig_macOS ]
652
655
runs-on : macos-10.15
653
656
if : ${{ github.event_name == 'pull_request' }}
657
+ strategy :
658
+ matrix :
659
+ python-version : [3.6.8, 3.7.9, 3.8.8, 3.9.2]
654
660
steps :
655
661
- uses : actions/checkout@v2
656
662
with :
657
663
fetch-depth : 0
658
664
- uses : ./.github/actions/install-python-upstream
659
665
with :
660
- version : 3.6.8
666
+ version : ${{ matrix.python-version }}
661
667
- run : |
662
668
python --version
663
669
pip --version
@@ -673,7 +679,7 @@ jobs:
673
679
- id : get_numpy
674
680
uses : ./.github/actions/numpy_vers
675
681
with :
676
- pyver : 3.6.8
682
+ pyver : ${{ matrix.python-version }}
677
683
- name : Make decoder package
678
684
run : |
679
685
NUMPY_BUILD_VERSION=${{ steps.get_numpy.outputs.build_version }} \
@@ -1146,6 +1152,9 @@ jobs:
1146
1152
name : " Win|Build CTC decoder Python package"
1147
1153
needs : [swig_Windows_crosscompiled]
1148
1154
runs-on : windows-2019
1155
+ strategy :
1156
+ matrix :
1157
+ python-version : [3.6, 3.7, 3.8, 3.9]
1149
1158
steps :
1150
1159
- name : Switch git-bash shell to MSYS2 shell by adding MSYS2 path to PATH front
1151
1160
run : echo "$MSYS2_SHELL_PATH" >> $GITHUB_PATH
@@ -1163,7 +1172,7 @@ jobs:
1163
1172
fetch-depth : 0
1164
1173
- uses : actions/setup-python@v2
1165
1174
with :
1166
- python-version : 3.7.9
1175
+ python-version : ${{ matrix.python-version }}
1167
1176
- run : |
1168
1177
python --version
1169
1178
python -m pip --version
@@ -1212,6 +1221,9 @@ jobs:
1212
1221
name : " Win|Build TensorFlow (opt)"
1213
1222
needs : tensorflow_opt-Windows
1214
1223
runs-on : windows-2019
1224
+ strategy :
1225
+ matrix :
1226
+ python-version : [3.6, 3.7, 3.8, 3.9]
1215
1227
steps :
1216
1228
- run : true
1217
1229
if : needs.tensorflow_opt-Windows.outputs.status == 'found'
@@ -1229,7 +1241,7 @@ jobs:
1229
1241
if : needs.tensorflow_opt-Windows.outputs.status == 'missing'
1230
1242
- uses : actions/setup-python@v2
1231
1243
with :
1232
- python-version : 3.7.9
1244
+ python-version : ${{ matrix.python-version }}
1233
1245
if : needs.tensorflow_opt-Windows.outputs.status == 'missing'
1234
1246
- uses : actions/checkout@v2
1235
1247
with :
@@ -1314,7 +1326,7 @@ jobs:
1314
1326
build-flavor : ["tf", "tflite"]
1315
1327
# Try to keep Python versions in sync with cached versions to speed things up:
1316
1328
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
1317
- python-version : [3.6.8 , 3.7.9 , 3.8.8 , 3.9.4 ]
1329
+ python-version : [3.6, 3.7, 3.8, 3.9]
1318
1330
steps :
1319
1331
- name : Switch git-bash shell to MSYS2 shell by adding MSYS2 path to PATH front
1320
1332
run : echo "$MSYS2_SHELL_PATH" >> $GITHUB_PATH
@@ -1490,7 +1502,7 @@ jobs:
1490
1502
matrix :
1491
1503
# Try to keep Python versions in sync with cached versions to speed things up:
1492
1504
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
1493
- python-version : [3.6.8 , 3.7.9 , 3.8.8 , 3.9.4 ]
1505
+ python-version : [3.6, 3.7, 3.8, 3.9]
1494
1506
build-flavor : ["tf", "tflite"]
1495
1507
models : ["test", "prod"]
1496
1508
bitrate : ["8k", "16k"]
0 commit comments