From d894e65928736c98272c69165c347bbc8a9dc651 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 12 Sep 2024 11:16:41 +0200 Subject: [PATCH] Add arm architectures to build --- .github/workflows/cibuildwheel.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index c5676ce49..cf5ca3989 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -14,14 +14,20 @@ jobs: strategy: matrix: # macos-13 is an intel runner, macos-14 is apple silicon - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] steps: - uses: actions/checkout@v4 + # aarch64 (arm) is built via qemu emulation on Linux + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: all - name: Build wheels uses: pypa/cibuildwheel@v2.19.1 env: - CIBW_SOME_OPTION: value + CIBW_ARCHS_LINUX: auto aarch64 with: package-dir: . output-dir: wheelhouse