@@ -10,11 +10,11 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
timeout-minutes : 10
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
with :
15
15
submodules : true
16
16
17
- - uses : actions/setup-python@v2
17
+ - uses : actions/setup-python@v4
18
18
name : Install Python
19
19
with :
20
20
python-version : ' 3.10'
25
25
python setup.py sdist
26
26
27
27
- name : Store artifacts
28
- uses : actions/upload-artifact@v2
28
+ uses : actions/upload-artifact@v3
29
29
with :
30
30
name : wheels
31
31
path : ./dist
97
97
platform_id : manylinux_x86_64
98
98
manylinux_image : manylinux2014
99
99
100
+ # Linux aarch64
101
+ - os : ubuntu-latest
102
+ python : 37
103
+ platform_id : manylinux_aarch64
104
+ - os : ubuntu-latest
105
+ python : 38
106
+ platform_id : manylinux_aarch64
107
+ - os : ubuntu-latest
108
+ python : 39
109
+ platform_id : manylinux_aarch64
110
+ - os : ubuntu-latest
111
+ python : 310
112
+ platform_id : manylinux_aarch64
113
+
100
114
# MacOS x86_64
101
115
- os : macos-latest
102
116
python : 37
@@ -123,11 +137,17 @@ jobs:
123
137
platform_id : macosx_arm64
124
138
125
139
steps :
126
- - uses : actions/checkout@v2
140
+ - uses : actions/checkout@v3
127
141
with :
128
142
submodules : true
129
143
130
- - uses : actions/setup-python@v2
144
+ - name : Set up QEMU
145
+ if : ${{ matrix.platform_id == 'manylinux_aarch64' }}
146
+ uses : docker/setup-qemu-action@v2
147
+ with :
148
+ platforms : arm64
149
+
150
+ - uses : actions/setup-python@v4
131
151
name : Install Python
132
152
with :
133
153
python-version : ' 3.9'
@@ -143,13 +163,14 @@ jobs:
143
163
CIBW_ARCHS : all
144
164
CIBW_MANYLINUX_X86_64_IMAGE : ${{ matrix.manylinux_image }}
145
165
CIBW_MANYLINUX_I686_IMAGE : ${{ matrix.manylinux_image }}
166
+ CIBW_MANYLINUX_AARCH64_IMAGE : ${{ matrix.manylinux_image }}
146
167
CIBW_BUILD_VERBOSITY : 1
147
168
run : |
148
169
python --version
149
170
python -m cibuildwheel --output-dir dist
150
171
151
172
- name : Store artifacts
152
- uses : actions/upload-artifact@v2
173
+ uses : actions/upload-artifact@v3
153
174
with :
154
175
name : wheels
155
176
path : ./dist
@@ -166,7 +187,7 @@ jobs:
166
187
167
188
steps :
168
189
- name : Set up Python ${{ matrix.python-version }}
169
- uses : actions/setup-python@v2
190
+ uses : actions/setup-python@v4
170
191
with :
171
192
python-version : ${{ matrix.python-version }}
172
193
@@ -212,7 +233,7 @@ jobs:
212
233
213
234
steps :
214
235
- name : Download the wheels
215
- uses : actions/download-artifact@v2
236
+ uses : actions/download-artifact@v3
216
237
with :
217
238
name : wheels
218
239
path : dist/
0 commit comments