@@ -4,20 +4,71 @@ on: [push, pull_request]
44
55
66jobs :
7- build :
8- if : startsWith(github.ref, 'refs/tags/0.')
7+ buildLinxaarch :
8+ if : startsWith(github.ref, 'refs/tags/0.') || startsWith(${{github.event.commits[0].message}}, 'wheels')
99 runs-on : ${{ matrix.os }}
1010 strategy :
1111 fail-fast : false
1212 matrix :
13- os : [ubuntu-20.04, windows-2019]
13+ os : [ubuntu-20.04]
14+ architecture : ['x64']
15+ include :
16+ # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
17+ - os : ubuntu-20.04
18+ linux_archs : " aarch64"
19+ skip : " pp* *-musllinux_aarch64"
20+
21+ name : Python ${{ matrix.os }}
22+ env :
23+ CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : " delvewheel repair -w {dest_dir} {wheel}"
24+ CIBW_BEFORE_ALL : " pip install numpy cython"
25+ CIBW_SKIP : ${{ matrix.skip }}
26+ CIBW_ARCHS_LINUX : ${{ matrix.linux_archs }}
27+ CIBW_TEST_SKIP : " *"
28+
29+ steps :
30+ - uses : actions/checkout@v2
31+
32+ - name : Setup Python
33+ uses : actions/setup-python@v2
34+ with :
35+ python-version : " 3.8"
36+
37+ - name : Set up QEMU
38+ if : runner.os == 'Linux'
39+ uses : docker/setup-qemu-action@v1
40+ with :
41+ platforms : all
42+
43+ - name : Add msbuild to PATH
44+ if : runner.os == 'Windows'
45+ 46+
47+ - name : delvewheel install
48+ if : runner.os == 'Windows'
49+ run : |
50+ python -m pip install delvewheel==0.0.9 cython
51+
52+ - name : Build wheels
53+ 54+
55+ - uses : actions/upload-artifact@v2
56+ with :
57+ path : ./wheelhouse/*.whl
58+ name : wheels
59+
60+ buildLinx686 :
61+ if : startsWith(github.ref, 'refs/tags/0.') || startsWith(${{github.event.commits[0].message}}, 'wheels')
62+ runs-on : ${{ matrix.os }}
63+ strategy :
64+ fail-fast : false
65+ matrix :
66+ os : [ubuntu-20.04]
1467 architecture : ['x64']
1568 include :
1669 # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
17- - os : windows-2019
18- skip : " *2*win* *win32 pp*"
1970 - os : ubuntu-20.04
20- linux_archs : auto
71+ linux_archs : " i686 "
2172 skip : " pp*"
2273
2374 name : Python ${{ matrix.os }}
@@ -28,6 +79,111 @@ jobs:
2879 CIBW_ARCHS_LINUX : ${{ matrix.linux_archs }}
2980 CIBW_TEST_SKIP : " *"
3081
82+ steps :
83+ - uses : actions/checkout@v2
84+
85+ - name : Setup Python
86+ uses : actions/setup-python@v2
87+ with :
88+ python-version : " 3.8"
89+
90+ - name : Set up QEMU
91+ if : runner.os == 'Linux'
92+ uses : docker/setup-qemu-action@v1
93+ with :
94+ platforms : all
95+
96+ - name : Add msbuild to PATH
97+ if : runner.os == 'Windows'
98+ 99+
100+ - name : delvewheel install
101+ if : runner.os == 'Windows'
102+ run : |
103+ python -m pip install delvewheel==0.0.9 cython
104+
105+ - name : Build wheels
106+ 107+
108+ - uses : actions/upload-artifact@v2
109+ with :
110+ path : ./wheelhouse/*.whl
111+ name : wheels
112+
113+ buildLinx86x64 :
114+ if : startsWith(github.ref, 'refs/tags/0.') || startsWith(${{github.event.commits[0].message}}, 'wheels')
115+ runs-on : ${{ matrix.os }}
116+ strategy :
117+ fail-fast : false
118+ matrix :
119+ os : [ubuntu-20.04]
120+ architecture : ['x64']
121+ include :
122+ # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
123+ - os : ubuntu-20.04
124+ linux_archs : " x86_64"
125+ skip : " pp*"
126+
127+ name : Python ${{ matrix.os }}
128+ env :
129+ CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : " delvewheel repair -w {dest_dir} {wheel}"
130+ CIBW_BEFORE_ALL : " pip install numpy cython"
131+ CIBW_SKIP : ${{ matrix.skip }}
132+ CIBW_ARCHS_LINUX : ${{ matrix.linux_archs }}
133+ CIBW_TEST_SKIP : " *"
134+
135+ steps :
136+ - uses : actions/checkout@v2
137+
138+ - name : Setup Python
139+ uses : actions/setup-python@v2
140+ with :
141+ python-version : " 3.8"
142+
143+ - name : Set up QEMU
144+ if : runner.os == 'Linux'
145+ uses : docker/setup-qemu-action@v1
146+ with :
147+ platforms : all
148+
149+ - name : Add msbuild to PATH
150+ if : runner.os == 'Windows'
151+ 152+
153+ - name : delvewheel install
154+ if : runner.os == 'Windows'
155+ run : |
156+ python -m pip install delvewheel==0.0.9 cython
157+
158+ - name : Build wheels
159+ 160+
161+ - uses : actions/upload-artifact@v2
162+ with :
163+ path : ./wheelhouse/*.whl
164+ name : wheels
165+
166+ buildWin :
167+ if : startsWith(github.ref, 'refs/tags/0.') || startsWith(${{github.event.commits[0].message}}, 'wheels')
168+ runs-on : ${{ matrix.os }}
169+ strategy :
170+ fail-fast : false
171+ matrix :
172+ os : [windows-2019]
173+ architecture : ['x64']
174+ include :
175+ # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
176+ - os : windows-2019
177+ skip : " *2*win* *win32 pp*"
178+
179+ name : Python ${{ matrix.os }}
180+ env :
181+ CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : " delvewheel repair -w {dest_dir} {wheel}"
182+ CIBW_BEFORE_ALL : " pip install numpy cython"
183+ CIBW_SKIP : ${{ matrix.skip }}
184+ CIBW_ARCHS_LINUX : ${{ matrix.linux_archs }}
185+ CIBW_TEST_SKIP : " *"
186+
31187 steps :
32188 - uses : actions/checkout@v2
33189
0 commit comments