-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔥 remove emulated wheel builds (#65)
Signed-off-by: burgholzer <[email protected]>
- Loading branch information
1 parent
40ef2db
commit b0e155a
Showing
1 changed file
with
0 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |