File tree Expand file tree Collapse file tree 3 files changed +29
-7
lines changed Expand file tree Collapse file tree 3 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 3131
3232
3333 build_wheels :
34- name : Build ${{ matrix.arch }} wheels on ${{ matrix.os }}
34+ name : Build ${{ matrix.build }}${{ matrix. arch }} wheels on ${{ matrix.os }}
3535 needs : [lint]
3636 runs-on : ${{ matrix.os }}
3737 strategy :
@@ -40,27 +40,47 @@ jobs:
4040 include :
4141 - os : ubuntu-20.04
4242 arch : " x86_64"
43+ build : " "
4344 use_qemu : false
4445 - os : ubuntu-20.04
4546 arch : " i686"
47+ build : " "
4648 use_qemu : false
4749 - os : ubuntu-20.04
4850 arch : " aarch64"
51+ build : " manylinux_"
52+ use_qemu : true
53+ - os : ubuntu-20.04
54+ arch : " aarch64"
55+ build : " musllinux_"
4956 use_qemu : true
5057 - os : ubuntu-20.04
5158 arch : " ppc64le"
59+ build : " manylinux_"
60+ use_qemu : true
61+ - os : ubuntu-20.04
62+ arch : " ppc64le"
63+ build : " musllinux_"
64+ use_qemu : true
65+ - os : ubuntu-20.04
66+ arch : " s390x"
67+ build : " manylinux_"
5268 use_qemu : true
5369 - os : ubuntu-20.04
5470 arch : " s390x"
71+ build : " musllinux_"
5572 use_qemu : true
5673 - os : windows-2019
5774 arch : " AMD64"
75+ build : " "
5876 use_qemu : false
5977 - os : windows-2019
6078 arch : " x86"
79+ build : " "
6180 use_qemu : false
6281 - os : macos-10.15
6382 arch : " x86_64"
83+ build : " "
6484 use_qemu : false
6585
6686 steps :
@@ -74,10 +94,11 @@ jobs:
7494 if : matrix.use_qemu && fromJSON(env.USE_QEMU)
7595
7696 - name : Build wheels
77- uses : pypa/cibuildwheel@v2.1.1
97+ uses : pypa/cibuildwheel@v2.2.0a1
7898 if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
7999 env :
80100 CIBW_ARCHS : " ${{ matrix.arch }}"
101+ CIBW_BUILD : " cp39-${{ matrix.build }}*"
81102
82103 - uses : actions/upload-artifact@v2
83104 if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
@@ -101,9 +122,11 @@ jobs:
101122 fetch-depth : 0 # required for versioneer to find tags
102123
103124 - name : Build wheels
104- uses : pypa/cibuildwheel@v2.0.1
125+ uses : pypa/cibuildwheel@v2.2.0a1
105126 env :
106127 CIBW_ARCHS : " ${{ matrix.arch }}"
128+ CIBW_BEFORE_ALL : " pipx install -f --pip-args=\" -c {project}/constraints-ci.txt\" cmake && pipx install -f --pip-args=\" -c {project}/constraints-ci.txt\" ninja && ./scripts/manylinux-build-and-install-openssl.sh"
129+ CIBW_BUILD : " cp39-manylinux_*"
107130 CIBW_MANYLINUX_X86_64_IMAGE : " manylinux1"
108131 CIBW_MANYLINUX_I686_IMAGE : " manylinux1"
109132
Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ matrix:
1616 - arch : s390x
1717
1818install :
19- - python -m pip install cibuildwheel==2.1.1
19+ - python -m pip install cibuildwheel==2.2.0a1
2020 - python -m pip install -r requirements-deploy.txt
2121
2222script :
2323 - |
24+ set -e
2425 cibuildwheel --output-dir dist
2526 ls dist
2627 twine --version
Original file line number Diff line number Diff line change @@ -17,13 +17,11 @@ before-all = [
1717before-build = " pip install -r requirements-repair.txt"
1818repair-wheel-command = " python scripts/repair_wheel.py -w {dest_dir} {wheel}"
1919test-extras = " test"
20- test-command = " pytest {project}/tests"
20+ test-command = " pytest --ignore={project}/tests/test_distribution.py {project}/tests"
2121build-verbosity = " 1"
2222
2323[tool .cibuildwheel .linux ]
2424before-all = [
25- " pipx install -f --pip-args=\" -c {project}/constraints-ci.txt\" cmake" ,
26- " cmake --version" ,
2725 " pipx install -f --pip-args=\" -c {project}/constraints-ci.txt\" ninja" ,
2826 " ninja --version" ,
2927 " ./scripts/manylinux-build-and-install-openssl.sh" ,
You can’t perform that action at this time.
0 commit comments