build(deps): bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows #222
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build python wheels | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| release: | |
| types: | |
| - published | |
| jobs: | |
| build_wheels_cloud: | |
| name: Build wheels on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| arch: auto64 | |
| py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* | |
| before-all: dnf -y install cmake ninja-build boost-devel | |
| extra-env: "" | |
| - os: ubuntu-24.04-arm | |
| arch: aarch64 | |
| py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* | |
| before-all: dnf -y install cmake ninja-build boost-devel | |
| extra-env: "" | |
| - os: macos-13 | |
| arch: x86_64 | |
| py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* | |
| before-all: brew install ninja boost | |
| extra-env: CC="$(brew --prefix llvm@15)/bin/clang" CXX="$(brew --prefix llvm@15)/bin/clang++" HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | |
| - os: macos-14 | |
| arch: arm64 | |
| py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* | |
| before-all: brew install ninja boost | |
| extra-env: CC="$(brew --prefix llvm@15)/bin/clang" CXX="$(brew --prefix llvm@15)/bin/clang++" HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | |
| env: | |
| CIBW_BUILD: ${{ matrix.py-vers }} | |
| CIBW_SKIP: cp3*-musllinux_* | |
| CIBW_ARCHS: ${{ matrix.arch }} | |
| CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 | |
| CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28 | |
| CIBW_BEFORE_ALL: ${{ matrix.before-all }} | |
| CIBW_BEFORE_BUILD: pip install --upgrade pip setuptools wheel | |
| CIBW_ENVIRONMENT: ${{ matrix.extra-env }} | |
| MACOSX_DEPLOYMENT_TARGET: 10.15 | |
| steps: | |
| - name: checkout repo & submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build wheels | |
| uses: pypa/cibuildwheel@v2.23.3 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: wheels-cloud-${{ matrix.os }} | |
| path: ./wheelhouse/*.whl | |
| retention-days: 1 | |
| upload_all: | |
| name: Upload to PyPI | |
| needs: [build_wheels_cloud] | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'release' && github.event.action == 'published' }} | |
| steps: | |
| - name: Download wheels from cloud runners | |
| uses: actions/download-artifact@v4 | |
| with: | |
| pattern: wheels-cloud-* | |
| merge-multiple: true | |
| path: wheels | |
| - uses: pypa/gh-action-pypi-publish@v1.13.0 | |
| with: | |
| user: __token__ | |
| password: ${{ secrets.PYPI_TOKEN }} | |
| packages_dir: wheels/ |