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 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
You can’t perform that action at this time.
0 commit comments