Skip to content

Commit a2b16dd

Browse files
committed
update build-wheels-push
1 parent 5406d31 commit a2b16dd

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

.github/workflows/build-wheels-push.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: build-wheels-push
22

33
# on: []
4-
# on: push
4+
on: push
55

6-
on:
7-
release:
8-
types:
9-
- published
6+
# on:
7+
# release:
8+
# types:
9+
# - published
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
@@ -44,10 +44,8 @@ jobs:
4444
# https://github.com/github/feedback/discussions/7835#discussioncomment-1769026
4545
buildplat:
4646
- [ubuntu-24.04, manylinux_x86_64]
47-
- [ubuntu-24.04, manylinux_i686]
4847
- [ubuntu-24.04-arm, manylinux_aarch64]
4948
- [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test
50-
- [ubuntu-24.04, musllinux_i686]
5149
- [ubuntu-24.04-arm, musllinux_aarch64]
5250
- [macos-13, macosx_x86_64]
5351
- [macos-14, macosx_arm64]
@@ -68,6 +66,31 @@ jobs:
6866
name: cibw-wheels-${{ matrix.python }}-${{ matrix.buildplat[1] }}
6967
path: wheelhouse/*.whl
7068

69+
build_wheels_32:
70+
name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }}
71+
runs-on: ${{ matrix.buildplat[0] }}
72+
strategy:
73+
# Ensure that a wheel builder finishes even if another fails
74+
fail-fast: false
75+
matrix:
76+
buildplat_linux_32:
77+
- [ubuntu-24.04, manylinux_i686]
78+
- [ubuntu-24.04, musllinux_i686]
79+
python: ["cp38", "cp39","cp310", "cp311","cp312", "cp313"]
80+
81+
steps:
82+
- uses: actions/checkout@v4
83+
84+
- name: Build linux 32bit wheels
85+
uses: pypa/[email protected]
86+
env:
87+
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat_linux_32[1] }}
88+
89+
- uses: actions/upload-artifact@v4
90+
with:
91+
name: cibw-wheels-${{ matrix.python }}-${{ matrix.buildplat_linux_32[1] }}
92+
path: wheelhouse/*.whl
93+
7194
# upload_testpypi:
7295
# name: >-
7396
# Publish highspy to TestPyPI
@@ -104,7 +127,7 @@ jobs:
104127
needs: [build_wheels, build_sdist]
105128

106129
# upload to PyPI on every tag starting with 'v'
107-
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
130+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
108131

109132
environment:
110133
name: pypi

0 commit comments

Comments
 (0)