4444 pip install pytest
4545 pytest
4646
47+
4748 build_wheels :
4849 needs : [test_python]
4950 name : Build wheel on ${{ matrix.os }}
@@ -68,15 +69,82 @@ jobs:
6869 - name : Install cibuildwheel
6970 run : |
7071 python -m pip install git+https://github.com/joerick/cibuildwheel.git@f6eaa9f
71-
7272 - name : Build wheels
7373 run : |
7474 python -m cibuildwheel --output-dir wheelhouse
75+ - uses : actions/upload-artifact@v2
76+ with :
77+ path : ./wheelhouse/*.whl
78+
79+
80+ build_wheels_python27_windows_64 :
81+ needs : [test_python]
82+ name : Build wheel for python2.7 on windows-latest 64 bit
83+ runs-on : windows-latest
84+ env :
85+ CIBW_BUILD : cp27-win_amd64
86+ DISTUTILS_USE_SDK : 1
87+ MSSdk : 1
88+
89+ steps :
90+ - uses : actions/checkout@v1
91+ with :
92+ submodules : ' true'
93+
94+ - uses : actions/setup-python@v1
95+ name : Install Python
96+ with :
97+ python-version : ' 3.7'
98+
99+ - name : Install cibuildwheel
100+ run : |
101+ python -m pip install git+https://github.com/joerick/cibuildwheel.git@f6eaa9f
102+
103+ - uses : ilammy/msvc-dev-cmd@v1
104+
105+ - name : Build 64-bit wheel
106+ run : python -m cibuildwheel --output-dir wheelhouse
75107
76108 - uses : actions/upload-artifact@v2
77109 with :
78110 path : ./wheelhouse/*.whl
79111
112+
113+ build_wheels_python27_windows_32 :
114+ needs : [test_python]
115+ name : Build wheel for python2.7 on windows-latest 32 bit
116+ runs-on : windows-latest
117+ env :
118+ CIBW_BUILD : cp27-win32 pp27-win32
119+ DISTUTILS_USE_SDK : 1
120+ MSSdk : 1
121+
122+ steps :
123+ - uses : actions/checkout@v1
124+ with :
125+ submodules : ' true'
126+
127+ - uses : actions/setup-python@v1
128+ name : Install Python
129+ with :
130+ python-version : ' 3.7'
131+
132+ - name : Install cibuildwheel
133+ run : |
134+ python -m pip install git+https://github.com/joerick/cibuildwheel.git@f6eaa9f
135+
136+ - uses : ilammy/msvc-dev-cmd@v1
137+ with :
138+ arch : x86
139+
140+ - name : Build 64-bit wheel
141+ run : python -m cibuildwheel --output-dir wheelhouse
142+
143+ - uses : actions/upload-artifact@v2
144+ with :
145+ path : ./wheelhouse/*.whl
146+
147+
80148 build_sdist :
81149 needs : [test_python]
82150 name : Build source distribution
@@ -105,7 +173,7 @@ jobs:
105173
106174 deploy-wheels :
107175 if : github.event_name == 'release' && github.event.action == 'published'
108- needs : [build_wheels, build_sdist]
176+ needs : [build_wheels, build_wheels_python27_windows_64, build_wheels_python27_windows_32, build_sdist]
109177 name : deploy wheels to pypi
110178 runs-on : ubuntu-18.04
111179
0 commit comments