diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ca1389..c6e5e5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,7 +82,7 @@ jobs: strategy: fail-fast: False matrix: - os: [ ubuntu-latest, macos-latest, macos-14 ] + os: [ ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-14 ] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -99,8 +99,10 @@ jobs: # only build CPython-3.10+ and skip 32-bit builds CIBW_BUILD: ${{ needs.setup.outputs.cibw-build }} CIBW_SKIP: "*-manylinux_i686 *-musllinux*" - # use latest build - CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux2014_x86_64 + # use latest build; manylinux_2_28 ships gcc>=12 (manylinux2014's + # gcc 10.2 is too old for numpy>=2.5 source builds) + CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux_2_28_x86_64 + CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64 CIBW_BEFORE_ALL_MACOS: brew install swig CIBW_BEFORE_BUILD: pip install numpy swig run: | @@ -120,7 +122,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ windows-latest, ubuntu-latest, macos-latest, macos-14 ] + os: [ windows-latest, ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-14 ] python-version: ${{ fromJSON(needs.setup.outputs.python-versions) }} steps: