File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 21
21
matrix :
22
22
# macos-13 is an intel runner, macos-14 is apple silicon
23
23
os : [ "ubuntu-22.04", "ubuntu-22.04-arm" ]
24
+ arch : ["auto"]
25
+ include :
26
+ - os : ubuntu-22.04
27
+ arch : ppc64le
28
+
24
29
runs-on : ${{ matrix.os }}
25
30
steps :
26
31
- uses : actions/checkout@v4
@@ -36,15 +41,24 @@ jobs:
36
41
python-version : " 3.x"
37
42
38
43
- name : Set up QEMU
39
- if : runner.os == 'Linux' && runner .arch == 'X64'
44
+ if : ${{ matrix .arch != "auto" }}
40
45
uses : docker/setup-qemu-action@v3
41
46
with :
42
47
platforms : all
43
48
44
49
- 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" }}
45
59
uses : pypa/cibuildwheel@v3.0.1
46
60
env :
47
- CIBW_ARCHS_LINUX : ${{ runner .arch == 'X64' && 'auto ppc64le' || 'auto' }}
61
+ CIBW_ARCHS : ${{ matrix .arch }}
48
62
with :
49
63
package-dir : .
50
64
output-dir : wheelhouse
You can’t perform that action at this time.
0 commit comments