22
22
23
23
jobs :
24
24
wheels :
25
- name : " Build ${{ matrix.os }} ${{ matrix.cibw_build }} ${{ matrix.cibw_arch }} wheels"
25
+ name : " Build ${{ matrix.os }} ${{ matrix.py }} ${{ matrix.arch }} wheels"
26
26
runs-on : ${{ matrix.os }}-latest
27
27
strategy :
28
28
matrix :
@@ -51,41 +51,41 @@ jobs:
51
51
# for the_arch in archs[the_os]:
52
52
# them = {
53
53
# "os": the_os,
54
- # "cibw_build ": the_py,
55
- # "cibw_arch ": the_arch,
54
+ # "py ": the_py,
55
+ # "arch ": the_arch,
56
56
# }
57
57
# cog.outl(f"- {json.dumps(them)}")
58
58
# ]]]
59
- - {"os": "ubuntu", "cibw_build ": "cp36", "cibw_arch ": "x86_64"}
60
- - {"os": "ubuntu", "cibw_build ": "cp36", "cibw_arch ": "i686"}
61
- - {"os": "ubuntu", "cibw_build ": "cp36", "cibw_arch ": "aarch64"}
62
- - {"os": "ubuntu", "cibw_build ": "cp37", "cibw_arch ": "x86_64"}
63
- - {"os": "ubuntu", "cibw_build ": "cp37", "cibw_arch ": "i686"}
64
- - {"os": "ubuntu", "cibw_build ": "cp37", "cibw_arch ": "aarch64"}
65
- - {"os": "ubuntu", "cibw_build ": "cp38", "cibw_arch ": "x86_64"}
66
- - {"os": "ubuntu", "cibw_build ": "cp38", "cibw_arch ": "i686"}
67
- - {"os": "ubuntu", "cibw_build ": "cp38", "cibw_arch ": "aarch64"}
68
- - {"os": "ubuntu", "cibw_build ": "cp39", "cibw_arch ": "x86_64"}
69
- - {"os": "ubuntu", "cibw_build ": "cp39", "cibw_arch ": "i686"}
70
- - {"os": "ubuntu", "cibw_build ": "cp39", "cibw_arch ": "aarch64"}
71
- - {"os": "ubuntu", "cibw_build ": "cp310", "cibw_arch ": "x86_64"}
72
- - {"os": "ubuntu", "cibw_build ": "cp310", "cibw_arch ": "i686"}
73
- - {"os": "ubuntu", "cibw_build ": "cp310", "cibw_arch ": "aarch64"}
74
- - {"os": "macos", "cibw_build ": "cp36", "cibw_arch ": "x86_64"}
75
- - {"os": "macos", "cibw_build ": "cp37", "cibw_arch ": "x86_64"}
76
- - {"os": "macos", "cibw_build ": "cp38", "cibw_arch ": "x86_64"}
77
- - {"os": "macos", "cibw_build ": "cp39", "cibw_arch ": "x86_64"}
78
- - {"os": "macos", "cibw_build ": "cp310", "cibw_arch ": "x86_64"}
79
- - {"os": "windows", "cibw_build ": "cp36", "cibw_arch ": "x86"}
80
- - {"os": "windows", "cibw_build ": "cp36", "cibw_arch ": "AMD64"}
81
- - {"os": "windows", "cibw_build ": "cp37", "cibw_arch ": "x86"}
82
- - {"os": "windows", "cibw_build ": "cp37", "cibw_arch ": "AMD64"}
83
- - {"os": "windows", "cibw_build ": "cp38", "cibw_arch ": "x86"}
84
- - {"os": "windows", "cibw_build ": "cp38", "cibw_arch ": "AMD64"}
85
- - {"os": "windows", "cibw_build ": "cp39", "cibw_arch ": "x86"}
86
- - {"os": "windows", "cibw_build ": "cp39", "cibw_arch ": "AMD64"}
87
- - {"os": "windows", "cibw_build ": "cp310", "cibw_arch ": "x86"}
88
- - {"os": "windows", "cibw_build ": "cp310", "cibw_arch ": "AMD64"}
59
+ - {"os": "ubuntu", "py ": "cp36", "arch ": "x86_64"}
60
+ - {"os": "ubuntu", "py ": "cp36", "arch ": "i686"}
61
+ - {"os": "ubuntu", "py ": "cp36", "arch ": "aarch64"}
62
+ - {"os": "ubuntu", "py ": "cp37", "arch ": "x86_64"}
63
+ - {"os": "ubuntu", "py ": "cp37", "arch ": "i686"}
64
+ - {"os": "ubuntu", "py ": "cp37", "arch ": "aarch64"}
65
+ - {"os": "ubuntu", "py ": "cp38", "arch ": "x86_64"}
66
+ - {"os": "ubuntu", "py ": "cp38", "arch ": "i686"}
67
+ - {"os": "ubuntu", "py ": "cp38", "arch ": "aarch64"}
68
+ - {"os": "ubuntu", "py ": "cp39", "arch ": "x86_64"}
69
+ - {"os": "ubuntu", "py ": "cp39", "arch ": "i686"}
70
+ - {"os": "ubuntu", "py ": "cp39", "arch ": "aarch64"}
71
+ - {"os": "ubuntu", "py ": "cp310", "arch ": "x86_64"}
72
+ - {"os": "ubuntu", "py ": "cp310", "arch ": "i686"}
73
+ - {"os": "ubuntu", "py ": "cp310", "arch ": "aarch64"}
74
+ - {"os": "macos", "py ": "cp36", "arch ": "x86_64"}
75
+ - {"os": "macos", "py ": "cp37", "arch ": "x86_64"}
76
+ - {"os": "macos", "py ": "cp38", "arch ": "x86_64"}
77
+ - {"os": "macos", "py ": "cp39", "arch ": "x86_64"}
78
+ - {"os": "macos", "py ": "cp310", "arch ": "x86_64"}
79
+ - {"os": "windows", "py ": "cp36", "arch ": "x86"}
80
+ - {"os": "windows", "py ": "cp36", "arch ": "AMD64"}
81
+ - {"os": "windows", "py ": "cp37", "arch ": "x86"}
82
+ - {"os": "windows", "py ": "cp37", "arch ": "AMD64"}
83
+ - {"os": "windows", "py ": "cp38", "arch ": "x86"}
84
+ - {"os": "windows", "py ": "cp38", "arch ": "AMD64"}
85
+ - {"os": "windows", "py ": "cp39", "arch ": "x86"}
86
+ - {"os": "windows", "py ": "cp39", "arch ": "AMD64"}
87
+ - {"os": "windows", "py ": "cp310", "arch ": "x86"}
88
+ - {"os": "windows", "py ": "cp310", "arch ": "AMD64"}
89
89
# [[[end]]]
90
90
fail-fast : false
91
91
@@ -110,8 +110,8 @@ jobs:
110
110
111
111
- name : " Build wheels"
112
112
env :
113
- CIBW_BUILD : ${{ matrix.cibw_build }}-*
114
- CIBW_ARCHS : ${{ matrix.cibw_arch }}
113
+ CIBW_BUILD : ${{ matrix.py }}-*
114
+ CIBW_ARCHS : ${{ matrix.arch }}
115
115
CIBW_ENVIRONMENT : PIP_DISABLE_PIP_VERSION_CHECK=1
116
116
CIBW_TEST_COMMAND : python -c "from coverage.tracer import CTracer; print('CTracer OK!')"
117
117
run : |
@@ -122,7 +122,7 @@ jobs:
122
122
ls -al wheelhouse/
123
123
124
124
- name : " Remove unwanted wheels"
125
- if : matrix.os == 'ubuntu' && matrix.cibw_build == 'cp39'
125
+ if : matrix.os == 'ubuntu' && matrix.py == 'cp39'
126
126
run : |
127
127
# Python 3.9 musllinux wheels don't work in some places, so delete them.
128
128
# https://github.com/nedbat/coveragepy/issues/1268
@@ -198,7 +198,7 @@ jobs:
198
198
path : dist/*.whl
199
199
200
200
prerel :
201
- name : " Build pre-rel ${{ matrix.os }} ${{ matrix.python-version }} wheels"
201
+ name : " Build pre-rel ${{ matrix.os }} ${{ matrix.py }} wheels"
202
202
if : ${{ false }} # disable for now, since there are no pre-rel Python versions.
203
203
runs-on : " ${{ matrix.os }}-latest"
204
204
strategy :
@@ -207,18 +207,18 @@ jobs:
207
207
- ubuntu
208
208
- windows
209
209
- macos
210
- python-version :
210
+ py :
211
211
- " 3.10.0-rc.2"
212
212
fail-fast : false
213
213
214
214
steps :
215
215
- name : " Check out the repo"
216
216
uses : actions/checkout@v2
217
217
218
- - name : " Install Python ${{ matrix.python-version }}"
218
+ - name : " Install Python ${{ matrix.py }}"
219
219
uses : actions/setup-python@v2
220
220
with :
221
- python-version : ${{ matrix.python-version }}
221
+ python-version : ${{ matrix.py }}
222
222
223
223
- name : " Install wheel tools"
224
224
run : |
0 commit comments