diff --git a/.github/workflows/pypi-deploy.yml b/.github/workflows/pypi-deploy.yml index 270aaa3..520fad7 100644 --- a/.github/workflows/pypi-deploy.yml +++ b/.github/workflows/pypi-deploy.yml @@ -23,14 +23,13 @@ jobs: - name: Display files run: ls -lR - build_wheels: + build_wheels_ubuntu: name: Build binary wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} needs: [build_setup] strategy: matrix: - os: [ubuntu-latest, windows-latest] - arch: [auto32, auto64, aarch64] + os: [ubuntu-latest] steps: - uses: actions/checkout@v2 @@ -45,12 +44,37 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse working-directory: python/ - # env: - # CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* - name: Store binary wheels uses: actions/upload-artifact@v4.6.0 with: - name: binary-wheels-${{matrix.os}}-${{matrix.arch}} + name: binary-wheels-${{matrix.os}}-${{ strategy.job-index }} + path: python/wheelhouse/*.whl + + build_wheels_windows: + name: Build binary wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + needs: [build_setup] + strategy: + matrix: + os: [windows-latest] + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.1.2 + - name: Get wheel configuration files + uses: actions/download-artifact@v4.1.7 + with: + name: wheel-config + path: python/ + - name: Build wheels + run: python -m cibuildwheel --output-dir wheelhouse + working-directory: python/ + - name: Store binary wheels + uses: actions/upload-artifact@v4.6.0 + with: + name: binary-wheels-${{matrix.os}}-${{ strategy.job-index }} path: python/wheelhouse/*.whl build_sdist: @@ -81,7 +105,7 @@ jobs: upload_pypi: name: Upload wheels to PyPI runs-on: ubuntu-24.04 - needs: [build_wheels, build_sdist] + needs: [build_wheels_ubuntu, build_wheels_windows, build_sdist] steps: - name: Get source wheels diff --git a/python/VERSION b/python/VERSION index 67da954..291d0de 100644 --- a/python/VERSION +++ b/python/VERSION @@ -1 +1 @@ -2.1.15 +2.1.16