8484 with :
8585 path : ./wheelhouse/*.whl
8686
87+ build_manylinux1_wheels :
88+ name : Build ${{ matrix.arch }} manylinux1 wheels
89+ needs : [lint]
90+ runs-on : ubuntu-20.04
91+ strategy :
92+ fail-fast : false
93+ matrix :
94+ include :
95+ - arch : " x86_64"
96+ - arch : " i686"
97+
98+ steps :
99+ - uses : actions/checkout@v2
100+ with :
101+ fetch-depth : 0 # required for versioneer to find tags
102+
103+ - name : Build wheels
104+ uses : pypa/cibuildwheel@v2.0.1
105+ env :
106+ CIBW_ARCHS : " ${{ matrix.arch }}"
107+ CIBW_MANYLINUX_X86_64_IMAGE : " manylinux1"
108+ CIBW_MANYLINUX_I686_IMAGE : " manylinux1"
109+
110+ - uses : actions/upload-artifact@v2
111+ with :
112+ path : ./wheelhouse/*.whl
113+
87114 build_sdist :
88115 name : Build source distribution
89116 needs : [lint]
@@ -139,7 +166,7 @@ jobs:
139166
140167 check_dist :
141168 name : Check dist
142- needs : [build_wheels, build_sdist, test_sdist]
169+ needs : [build_wheels, build_manylinux1_wheels, build_sdist, test_sdist]
143170 runs-on : ubuntu-20.04
144171 steps :
145172 - uses : actions/download-artifact@v2
@@ -151,7 +178,7 @@ jobs:
151178
152179 upload_pypi :
153180 name : Upload to PyPI
154- needs : [build_wheels, build_sdist, test_sdist, check_dist]
181+ needs : [build_wheels, build_manylinux1_wheels, build_sdist, test_sdist, check_dist]
155182 runs-on : ubuntu-latest
156183 if : github.event_name == 'push' && github.repository == 'scikit-build/cmake-python-distributions' && startsWith(github.ref, 'refs/tags/')
157184 steps :
0 commit comments