Skip to content

Commit

Permalink
add multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
bkochauri-memphis committed Sep 9, 2024
1 parent 79bd25f commit fda2b23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
arch: [x86_64, arm64] # Specify architectures (x86_64 = AMD, arm64 = ARM)
arch: [x86_64, aarch64] # Use 'aarch64' for Linux ARM builds, 'x86_64' for AMD/Intel
exclude:
- os: windows-latest
arch: arm64 # Windows doesn't support arm64 builds yet
arch: aarch64 # Windows doesn't support aarch64

steps:
- uses: actions/checkout@v4
Expand All @@ -26,9 +26,9 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: ${{ matrix.arch }} # Specify which architecture to build for
CIBW_ARCHS: ${{ matrix.arch }} # Use aarch64 for ARM on Linux

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
path: ./wheelhouse/*.whl

0 comments on commit fda2b23

Please sign in to comment.