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

Commit57e3d6c

Browse files
Update python-publish.yml
1 parent78588bc commit57e3d6c

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

‎.github/workflows/python-publish.yml‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
matrix:
2222
# macos-13 is an intel runner, macos-14 is apple silicon
2323
os:[ "ubuntu-22.04", "ubuntu-22.04-arm" ]
24+
arch:["auto"]
25+
include:
26+
-os:ubuntu-22.04
27+
arch:ppc64le
28+
2429
runs-on:${{ matrix.os }}
2530
steps:
2631
-uses:actions/checkout@v4
@@ -36,15 +41,24 @@ jobs:
3641
python-version:"3.x"
3742

3843
-name:Set up QEMU
39-
if:runner.os == 'Linux' && runner.arch== 'X64'
44+
if:${{ matrix.arch!= "auto" }}
4045
uses:docker/setup-qemu-action@v3
4146
with:
4247
platforms:all
4348

4449
-name:Build wheels
50+
if:${{ matrix.arch == "auto" }}
51+
uses:pypa/cibuildwheel@v3.0.1
52+
with:
53+
package-dir:.
54+
output-dir:wheelhouse
55+
config-file:"{package}/pyproject.toml"
56+
57+
-name:Build wheels
58+
if:${{ matrix.arch != "auto" }}
4559
uses:pypa/cibuildwheel@v3.0.1
4660
env:
47-
CIBW_ARCHS_LINUX:${{runner.arch == 'X64' && 'auto ppc64le' || 'auto' }}
61+
CIBW_ARCHS:${{matrix.arch }}
4862
with:
4963
package-dir:.
5064
output-dir:wheelhouse

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp