Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add CI job to build Python wheels for ppc64le architecture#29485

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
sandeepgupta12 wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromsandeepgupta12:main
Open
Changes fromall 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
62 changes: 61 additions & 1 deletion.github/workflows/cibuildwheel.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -194,10 +194,70 @@ jobs:
path: ./wheelhouse/*.whl
if-no-files-found: error

build_ppc64le_wheels:
if: >-
github.event_name == 'push' ||
github.event_name == 'pull_request' && (
(
github.event.action == 'labeled' &&
github.event.label.name == 'CI: Run cibuildwheel'
) ||
contains(github.event.pull_request.labels.*.name,
'CI: Run cibuildwheel')
)
needs: build_sdist
name: Build wheels for CPython${{ matrix.python_version }} (ppc64le)
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python_version: "3.10"
cibw_build: "cp310-*"
- python_version: "3.11"
cibw_build: "cp311-*"
- python_version: "3.12"
cibw_build: "cp312-*"
- python_version: "3.13"
cibw_build: "cp313-*"
env:
CIBW_BEFORE_BUILD: >-
rm -rf {package}/build
CIBW_AFTER_BUILD: >-
twine check {wheel} &&
python {package}/ci/check_wheel_licenses.py {wheel}
CIBW_SKIP: "*-musllinux_ppc64le"
CIBW_ARCHS: "ppc64le"

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf
with:
platforms: ppc64le

- name: Download sdist
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
name: cibw-sdist
path: dist/

- name: Build wheels
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
with:
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
env:
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_BEFORE_BUILD: >
yum update && yum install -y openssl-devel libffi-devel libjpeg-devel zlib-devel bzip2-devel ncurses-devel readline-devel sqlite-devel curl tk-devel xz-devel

- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: cibw-wheels-ppc64le-${{ matrix.python_version }}
path: ./wheelhouse/*.whl

publish:
if: github.event_name == 'push' && github.ref_type == 'tag'
name: Upload release to PyPI
needs: [build_sdist, build_wheels]
needs: [build_sdist, build_wheels, build_ppc64le_wheels]
runs-on: ubuntu-latest
environment: release
permissions:
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp