File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 31
31
32
32
33
33
build_wheels :
34
- name : Build ${{ matrix.arch }} wheels on ${{ matrix.os }}
34
+ name : Build ${{ matrix.build }}${{ matrix. arch }} wheels on ${{ matrix.os }}
35
35
needs : [lint]
36
36
runs-on : ${{ matrix.os }}
37
37
strategy :
@@ -40,27 +40,47 @@ jobs:
40
40
include :
41
41
- os : ubuntu-20.04
42
42
arch : " x86_64"
43
+ build : " "
43
44
use_qemu : false
44
45
- os : ubuntu-20.04
45
46
arch : " i686"
47
+ build : " "
46
48
use_qemu : false
47
49
- os : ubuntu-20.04
48
50
arch : " aarch64"
51
+ build : " manylinux_"
52
+ use_qemu : true
53
+ - os : ubuntu-20.04
54
+ arch : " aarch64"
55
+ build : " musllinux_"
49
56
use_qemu : true
50
57
- os : ubuntu-20.04
51
58
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_"
52
68
use_qemu : true
53
69
- os : ubuntu-20.04
54
70
arch : " s390x"
71
+ build : " musllinux_"
55
72
use_qemu : true
56
73
- os : windows-2019
57
74
arch : " AMD64"
75
+ build : " "
58
76
use_qemu : false
59
77
- os : windows-2019
60
78
arch : " x86"
79
+ build : " "
61
80
use_qemu : false
62
81
- os : macos-10.15
63
82
arch : " x86_64"
83
+ build : " "
64
84
use_qemu : false
65
85
66
86
steps :
@@ -74,10 +94,11 @@ jobs:
74
94
if : matrix.use_qemu && fromJSON(env.USE_QEMU)
75
95
76
96
- name : Build wheels
77
- uses : pypa/cibuildwheel@v2.1.1
97
+ uses : pypa/cibuildwheel@a9c86e791a8c7ea30c109d472a75bb5031ebfdcd
78
98
if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
79
99
env :
80
100
CIBW_ARCHS : " ${{ matrix.arch }}"
101
+ CIBW_BUILD : " cp39-${{ matrix.build }}*"
81
102
82
103
- uses : actions/upload-artifact@v2
83
104
if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
@@ -101,9 +122,11 @@ jobs:
101
122
fetch-depth : 0 # required for versioneer to find tags
102
123
103
124
- name : Build wheels
104
- uses : pypa/cibuildwheel@v2.0.1
125
+ uses : pypa/cibuildwheel@a9c86e791a8c7ea30c109d472a75bb5031ebfdcd
105
126
env :
106
127
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_*"
107
130
CIBW_MANYLINUX_X86_64_IMAGE : " manylinux1"
108
131
CIBW_MANYLINUX_I686_IMAGE : " manylinux1"
109
132
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ matrix:
16
16
- arch : s390x
17
17
18
18
install :
19
- - python -m pip install cibuildwheel==2.1.1
19
+ - python -m pip install git+https://github.com/pypa/ cibuildwheel.git@a9c86e791a8c7ea30c109d472a75bb5031ebfdcd
20
20
- python -m pip install -r requirements-deploy.txt
21
21
22
22
script :
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ build-verbosity = "1"
22
22
23
23
[tool .cibuildwheel .linux ]
24
24
before-all = [
25
- " pipx install -f --pip-args=\" -c {project}/constraints-ci.txt\" cmake" ,
26
- " cmake --version" ,
27
25
" pipx install -f --pip-args=\" -c {project}/constraints-ci.txt\" ninja" ,
28
26
" ninja --version" ,
29
27
" ./scripts/manylinux-build-and-install-openssl.sh" ,
You can’t perform that action at this time.
0 commit comments