Skip to content

Commit 559fe61

Browse files
committed
Use single step build
1 parent 50ee5bc commit 559fe61

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/build-wheels-push.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,11 @@ jobs:
4343
uses: docker/setup-qemu-action@v3
4444
with:
4545
platforms: all
46-
- name: Build wheels (aarch64)
47-
if: ${{ contains(matrix.buildplat[1], 'aarch64') }}
48-
uses: pypa/[email protected]
49-
env:
50-
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
51-
CIBW_ARCHS_LINUX: aarch64
52-
- name: Build wheels (not aarch64)
53-
if: ${{ !contains(matrix.buildplat[1], 'aarch64') }}
46+
- name: Build wheels
5447
uses: pypa/[email protected]
5548
env:
5649
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
50+
CIBW_ARCHS_LINUX: ${{ contains(matrix.buildplat[1], 'aarch64') && 'aarch64' || '' }}
5751
- uses: actions/upload-artifact@v3
5852
with:
5953
path: ./wheelhouse/*.whl

.github/workflows/build-wheels.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,11 @@ jobs:
3838
uses: docker/setup-qemu-action@v3
3939
with:
4040
platforms: all
41-
- name: Build wheels (aarch64)
42-
if: ${{ contains(matrix.buildplat[1], 'aarch64') }}
43-
uses: pypa/[email protected]
44-
env:
45-
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
46-
CIBW_ARCHS_LINUX: aarch64
47-
- name: Build wheels (not aarch64)
48-
if: ${{ !contains(matrix.buildplat[1], 'aarch64') }}
41+
- name: Build wheels
4942
uses: pypa/[email protected]
5043
env:
5144
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
45+
CIBW_ARCHS_LINUX: ${{ contains(matrix.buildplat[1], 'aarch64') && 'aarch64' || '' }}
5246

5347
build_sdist:
5448
name: Build source distribution

0 commit comments

Comments
 (0)