File tree Expand file tree Collapse file tree 1 file changed +25
-7
lines changed
Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build_wheels :
15- name : Build wheels on ${{ matrix.os }}
15+ name : Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
1616 runs-on : ${{ matrix.os }}
1717 strategy :
1818 matrix :
1919 os : [ubuntu-latest, macos-10.15] # windows-2019,
20- cibw_archs : ["auto"]
21- # include:
22- # - os: ubuntu-latest
23- # cibw_archs: "aarch64"
20+ cibw_archs : [auto]
21+ cibw_build : ['cp36-* cp37-* cp38-* cp39-* cp310-*']
22+ include :
23+ - os : ubuntu-latest
24+ cibw_archs : aarch64
25+ cibw_build : cp36-*
26+ - os : ubuntu-latest
27+ cibw_archs : aarch64
28+ cibw_build : cp37-*
29+ - os : ubuntu-latest
30+ cibw_archs : aarch64
31+ cibw_build : cp38-*
32+ - os : ubuntu-latest
33+ cibw_archs : aarch64
34+ cibw_build : cp39-*
35+ - os : ubuntu-latest
36+ cibw_archs : aarch64
37+ cibw_build : cp310-*
2438
2539 steps :
2640 - name : Checkout pysam
3145 with :
3246 python-version : ' 3.8'
3347
48+ - name : Set up QEMU
49+ if : ${{ matrix.cibw_archs == 'aarch64' }}
50+ uses : docker/setup-qemu-action@v1
51+
3452 - name : Install prerequisite Python libraries
3553 run : |
3654 python -m pip install --upgrade pip
4058 if : runner.os == 'Linux'
4159 uses : pypa/cibuildwheel@v2.2.2
4260 env :
43- CIBW_BUILD : cp36-* cp37-* cp38-* cp39-* cp310-*
61+ CIBW_BUILD : ${{ matrix.cibw_build }}
4462 CIBW_SKIP : " *musllinux*"
4563 CIBW_BEFORE_BUILD : yum install -y libcurl-devel zlib-devel bzip2-devel xz-devel && pip install cython
4664 CIBW_ARCHS : ${{ matrix.cibw_archs }}
4967 if : runner.os != 'Linux'
5068 uses : pypa/cibuildwheel@v2.2.2
5169 env :
52- CIBW_BUILD : cp36-* cp37-* cp38-* cp39-* cp310-*
70+ CIBW_BUILD : ${{ matrix.cibw_build }}
5371 CIBW_BEFORE_BUILD : pip install cython
5472 CIBW_ARCHS : ${{ matrix.cibw_archs }}
5573
You can’t perform that action at this time.
0 commit comments