File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -186,8 +186,14 @@ jobs:
186186
187187 linux-wheels :
188188 runs-on : " ubuntu-20.04"
189+ strategy :
190+ matrix :
191+ arch : ["x86_64", "aarch64"]
189192 steps :
190193 - uses : actions/checkout@v1
194+ - name : Set up QEMU
195+ if : ${{ matrix.arch == 'aarch64' }}
196+ uses : docker/setup-qemu-action@v1
191197 - name : Checkout submodules
192198 run : |
193199 git submodule update --init --recursive --depth 1
@@ -204,10 +210,14 @@ jobs:
204210 python -m cibuildwheel --output-dir wheelhouse
205211 env :
206212 CIBW_BUILD : cp36-* pp*
207- CIBW_ARCHS_LINUX : " x86_64 "
208- CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
213+ CIBW_ARCHS_LINUX : ${{ matrix.arch }}
214+ CIBW_MANYLINUX_*_IMAGE : manylinux2014
209215 CIBW_MANYLINUX_PYPY_X86_64_IMAGE : manylinux2014
210- CIBW_BEFORE_ALL_LINUX : yum install -y SDL2-devel
216+ CIBW_MANYLINUX_PYPY_AARCH64_IMAGE : manylinux2014
217+ CIBW_BEFORE_ALL_LINUX : >
218+ yum install -y epel-release &&
219+ yum-config-manager --enable epel &&
220+ yum install -y SDL2-devel
211221 CIBW_BEFORE_TEST : pip install numpy
212222 CIBW_TEST_COMMAND : python -c "import tcod"
213223 - name : Archive wheel
You can’t perform that action at this time.
0 commit comments