|
1 | 1 | name: build-wheels-push |
2 | 2 |
|
3 | 3 | # on: [] |
4 | | -# on: push |
| 4 | +on: push |
5 | 5 |
|
6 | | -on: |
7 | | - release: |
8 | | - types: |
9 | | - - published |
| 6 | +# on: |
| 7 | +# release: |
| 8 | +# types: |
| 9 | +# - published |
10 | 10 |
|
11 | 11 | concurrency: |
12 | 12 | group: ${{ github.workflow }}-${{ github.ref }} |
|
44 | 44 | # https://github.com/github/feedback/discussions/7835#discussioncomment-1769026 |
45 | 45 | buildplat: |
46 | 46 | - [ubuntu-24.04, manylinux_x86_64] |
47 | | - - [ubuntu-24.04, manylinux_i686] |
48 | 47 | - [ubuntu-24.04-arm, manylinux_aarch64] |
49 | 48 | - [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test |
50 | | - - [ubuntu-24.04, musllinux_i686] |
51 | 49 | - [ubuntu-24.04-arm, musllinux_aarch64] |
52 | 50 | - [macos-13, macosx_x86_64] |
53 | 51 | - [macos-14, macosx_arm64] |
|
68 | 66 | name: cibw-wheels-${{ matrix.python }}-${{ matrix.buildplat[1] }} |
69 | 67 | path: wheelhouse/*.whl |
70 | 68 |
|
| 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 | + |
| 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 | + |
71 | 94 | # upload_testpypi: |
72 | 95 | # name: >- |
73 | 96 | # Publish highspy to TestPyPI |
@@ -104,7 +127,7 @@ jobs: |
104 | 127 | needs: [build_wheels, build_sdist] |
105 | 128 |
|
106 | 129 | # 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') |
108 | 131 |
|
109 | 132 | environment: |
110 | 133 | name: pypi |
|
0 commit comments