Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 44 additions & 26 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,25 @@ jobs:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release
permissions:
id-token: write
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-24.04-ppc64le]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@stable
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Install cibuildwheel
- name: Install uv
run: |
python -m pip install -U --group releaseinfra
python3 -m pip install --user uv==0.11.2
- name: Install cibuildwheel dependencies
run: |
python3 -m uv python install 3.12
python3 -m uv venv --python 3.12 .venv
source .venv/bin/activate
uv pip install --group releaseinfra
- name: Build wheels
run: |
source .venv/bin/activate
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_SKIP: pp* cp314t* *win32 *musl*
Expand All @@ -116,6 +113,18 @@ jobs:
with:
path: ./wheelhouse/*.whl
name: wheel-builds-ppc64le
upload_wheels_ppc64le:
name: Upload wheels for ppc64le
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
needs: ["build_wheels_ppc64le", "upload_shared_wheels"]
steps:
- uses: actions/download-artifact@v4
with:
name: wheel-builds-ppc64le
path: wheelhouse
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -124,28 +133,25 @@ jobs:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release
permissions:
id-token: write
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-24.04-s390x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@stable
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Install cibuildwheel
- name: Install uv
run: |
python -m pip install -U --group releaseinfra
python3 -m pip install --user uv==0.11.2
- name: Install cibuildwheel dependencies
run: |
python3 -m uv python install 3.12
python3 -m uv venv --python 3.12 .venv
source .venv/bin/activate
uv pip install --group releaseinfra
- name: Build wheels
run: |
source .venv/bin/activate
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_SKIP: pp* cp314t* *win32 *musl*
Expand All @@ -154,6 +160,18 @@ jobs:
with:
path: ./wheelhouse/*.whl
name: wheel-builds-s390x
upload_wheels_s390x:
name: Upload wheels for s390x
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
needs: ["build_wheels_s390x", "upload_shared_wheels"]
steps:
- uses: actions/download-artifact@v4
with:
name: wheel-builds-s390x
path: wheelhouse
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
Loading