Skip to content

🔥 remove emulated wheel builds #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2025
Merged
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
44 changes: 0 additions & 44 deletions .github/workflows/reusable-python-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ on:
description: "The version of Z3 to set up"
default: "4.13.4"
type: string
build-emulated-wheels:
description: "Whether to build wheels for platforms that require emulation"
default: true
type: boolean

jobs:
build_sdist:
Expand Down Expand Up @@ -123,43 +119,3 @@ jobs:
with:
name: ${{ github.event_name == 'pull_request' && 'dev-' || '' }}cibw-wheels-${{ matrix.runs-on }}-${{ strategy.job-index }}
path: wheelhouse/*.whl

build_wheels_emulation:
if: ${{ !inputs.pure-python && inputs.build-emulated-wheels }}
name: 🎡 ${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# build wheels for all supported Python versions on all platforms that require emulation
arch: ["s390x", "ppc64le"]
steps:
# check out the repository (including submodules and all history)
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
# set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# optionally set up Z3
- if: ${{ inputs.setup-z3 }}
name: Set environment variables for Z3 installation in manylinux image
run: |
echo "CIBW_BEFORE_ALL_LINUX=/opt/python/cp311-cp311/bin/pip install z3-solver==${{ inputs.z3-version }}" >> $GITHUB_ENV
# set up uv for faster Python package management
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: false
# run cibuildwheel to build wheels for the specified Python version
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_TEST_SKIP: "cp*"
# upload the wheels as an artifact (adds a `dev-` prefix for PRs)
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event_name == 'pull_request' && 'dev-' || '' }}cibw-wheels-${{ matrix.arch }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
Loading