Skip to content

Commit 48bdcde

Browse files
authored
no i686 or aarch64 wheels
1 parent c00eba8 commit 48bdcde

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

.github/workflows/build-and-release.yaml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
- name: Build wheels
3232
uses: pypa/cibuildwheel@v2.18.0
3333
env:
34+
# don't build i686 wheels
35+
CIBW_SKIP: "*i686*"
3436
# disable repair
3537
CIBW_REPAIR_WHEEL_COMMAND: ""
3638
with:
@@ -42,35 +44,6 @@ jobs:
4244
name: wheels-${{ matrix.os }}
4345
path: ./wheelhouse/*.whl
4446

45-
build_wheels_arm64:
46-
name: Build arm64 wheels
47-
runs-on: ubuntu-latest
48-
steps:
49-
- uses: actions/checkout@v4
50-
with:
51-
submodules: "recursive"
52-
53-
- name: Set up QEMU
54-
uses: docker/setup-qemu-action@v3
55-
with:
56-
platforms: linux/arm64
57-
58-
- name: Build wheels
59-
uses: pypa/cibuildwheel@v2.18.0
60-
env:
61-
CIBW_SKIP: "*musllinux* pp*"
62-
CIBW_REPAIR_WHEEL_COMMAND: ""
63-
CIBW_ARCHS: "aarch64"
64-
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
65-
with:
66-
output-dir: wheelhouse
67-
68-
- name: Upload wheels as artifacts
69-
uses: actions/upload-artifact@v4
70-
with:
71-
name: wheels_arm64
72-
path: ./wheelhouse/*.whl
73-
7447
build_sdist:
7548
name: Build source distribution
7649
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)