@@ -47,12 +47,12 @@ jobs:
47
47
runs-on : ubuntu-latest
48
48
49
49
steps :
50
- - uses : actions/checkout@v2
50
+ - uses : actions/checkout@v3
51
51
with :
52
52
fetch-depth : 50
53
53
submodules : true
54
54
55
- - uses : actions/setup-python@v2
55
+ - uses : actions/setup-python@v4
56
56
57
57
- name : Build source distribution
58
58
run : |
@@ -70,31 +70,47 @@ jobs:
70
70
strategy :
71
71
matrix :
72
72
os : [ubuntu-latest, macos-latest, windows-latest]
73
- cibw_arch : [auto]
74
- include :
73
+ cibw_arch : ["auto64", "aarch64", "universal2"]
74
+ cibw_python :
75
+ - " cp36-*"
76
+ - " cp37-*"
77
+ - " cp38-*"
78
+ - " cp39-*"
79
+ - " cp310-*"
80
+ - " cp311-*"
81
+ exclude :
75
82
- os : ubuntu-latest
83
+ cibw_arch : universal2
84
+ - os : macos-latest
76
85
cibw_arch : aarch64
77
86
- os : macos-latest
87
+ cibw_python : " cp36-*"
88
+ cibw_arch : universal2
89
+ - os : macos-latest
90
+ cibw_python : " cp37-*"
91
+ cibw_arch : universal2
92
+ - os : windows-latest
78
93
cibw_arch : universal2
94
+ - os : windows-latest
95
+ cibw_arch : aarch64
79
96
80
97
steps :
81
- - uses : actions/checkout@v2
98
+ - uses : actions/checkout@v3
82
99
with :
83
100
fetch-depth : 50
84
101
submodules : true
85
102
86
103
- name : Set up QEMU
87
104
if : matrix.os == 'ubuntu-latest' && matrix.cibw_arch == 'aarch64'
88
- uses : docker/setup-qemu-action@v1
105
+ uses : docker/setup-qemu-action@v2
89
106
with :
90
107
platforms : arm64
91
108
92
- - uses : pypa/cibuildwheel@v2.3.1
109
+ - uses : pypa/cibuildwheel@v2.9.0
93
110
env :
94
111
CIBW_BUILD_VERBOSITY : 1
95
- CIBW_BUILD : " cp36-* cp37-* cp38-* cp39-* cp310-* "
112
+ CIBW_BUILD : ${{ matrix.cibw_python }}
96
113
CIBW_ARCHS : ${{ matrix.cibw_arch }}
97
- CIBW_SKIP : " pp*"
98
114
CIBW_TEST_EXTRAS : " test"
99
115
CIBW_TEST_COMMAND : " cd .. && python {project}/tests/__init__.py"
100
116
CIBW_TEST_COMMAND_WINDOWS : " cd .. && python {project}\\ tests\\ __init__.py"
@@ -111,7 +127,7 @@ jobs:
111
127
runs-on : ubuntu-latest
112
128
113
129
steps :
114
- - uses : actions/checkout@v2
130
+ - uses : actions/checkout@v3
115
131
with :
116
132
fetch-depth : 5
117
133
submodules : false
0 commit comments