Skip to content

Commit

Permalink
split linux into aarch64 and x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Deacon committed Jan 19, 2024
1 parent a4a7cdd commit a32adb4
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
name: linux-legacy
path: dist/

build_wheels_linux:
name: Build Linux Wheels
build_wheels_linux_x86_64:
name: Build Linux x86_64 Wheels
runs-on: ubuntu-latest
needs: build_sdist
steps:
Expand All @@ -82,10 +82,33 @@ jobs:
output-dir: dist/
env:
CIBW_ARCHS_LINUX: x86_64
CIBW_SKIP: cp38-* cp*musl* # Known issue with linux CPython 3.8, see #67
- uses: actions/upload-artifact@v4
with:
name: linux-x86_64
path: dist/

build_wheels_linux_aarch64:
name: Build Linux aarch64 Wheels
runs-on: ubuntu-latest
needs: build_sdist
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
with:
output-dir: dist/
env:
CIBW_ARCHS_LINUX: aarch64
CIBW_SKIP: cp38-* # Known issue with linux CPython 3.8, see #67
- uses: actions/upload-artifact@v4
with:
name: linux
name: linux-aarch64
path: dist/

build_wheels_macos:
Expand Down Expand Up @@ -124,6 +147,7 @@ jobs:

build_legacy_wheels_windows:
name: Build Legacy Windows Wheels
if: false
runs-on: windows-latest
needs: build_sdist
env:
Expand Down Expand Up @@ -177,7 +201,8 @@ jobs:
- build_sdist
- build_legacy_wheels_linux
- build_legacy_wheels_windows
- build_wheels_linux
- build_wheels_linux_aarch64
- build_wheels_linux_x86_64
- build_wheels_macos
- build_wheels_windows
steps:
Expand All @@ -200,7 +225,8 @@ jobs:
- build_sdist
- build_legacy_wheels_linux
- build_legacy_wheels_windows
- build_wheels_linux
- build_wheels_linux_aarch64
- build_wheels_linux_x86_64
- build_wheels_macos
- build_wheels_windows
steps:
Expand All @@ -225,7 +251,8 @@ jobs:
- build_sdist
- build_legacy_wheels_linux
- build_legacy_wheels_windows
- build_wheels_linux
- build_wheels_linux_aarch64
- build_wheels_linux_x86_64
- build_wheels_macos
- build_wheels_windows
steps:
Expand Down

0 comments on commit a32adb4

Please sign in to comment.