|
36 | 36 | {os: ubuntu-24.04, dist: cp312-manylinux_x86_64}, |
37 | 37 | {os: ubuntu-24.04, dist: cp313-manylinux_x86_64}, |
38 | 38 | {os: ubuntu-24.04, dist: cp314-manylinux_x86_64}, |
| 39 | + {os: ubuntu-24.04, dist: cp38-manylinux_aarch64, linuxarch: aarch64}, |
| 40 | + {os: ubuntu-24.04, dist: cp39-manylinux_aarch64, linuxarch: aarch64}, |
| 41 | + {os: ubuntu-24.04, dist: cp310-manylinux_aarch64, linuxarch: aarch64}, |
| 42 | + {os: ubuntu-24.04, dist: cp311-manylinux_aarch64, linuxarch: aarch64}, |
| 43 | + {os: ubuntu-24.04, dist: cp312-manylinux_aarch64, linuxarch: aarch64}, |
| 44 | + {os: ubuntu-24.04, dist: cp313-manylinux_aarch64, linuxarch: aarch64}, |
| 45 | + {os: ubuntu-24.04, dist: cp314-manylinux_aarch64, linuxarch: aarch64}, |
39 | 46 |
|
40 | 47 | # cp38-manylinux_i686 disabled because pandas isn't prebuilt and takes 20 minutes to build. |
41 | 48 | # {os: ubuntu-latest, dist: cp38-manylinux_i686}, |
@@ -144,12 +151,17 @@ jobs: |
144 | 151 | ] |
145 | 152 | env: |
146 | 153 | CIBW_BUILD: "${{ matrix.os_dist.dist }}" |
| 154 | + CIBW_ARCHS_LINUX: "${{ matrix.os_dist.linuxarch || 'auto' }}" |
147 | 155 | CIBW_ARCHS_MACOS: "${{ matrix.os_dist.macosarch }}" |
148 | 156 | CIBW_TEST_REQUIRES: cirq-core pytest |
149 | 157 | CIBW_TEST_COMMAND: pytest {project}/src {project}/glue/cirq && stim help |
150 | 158 | steps: |
151 | 159 | - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 |
152 | 160 | - uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3 |
| 161 | + - if: runner.os == 'Linux' && matrix.os_dist.linuxarch == 'aarch64' |
| 162 | + uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3 |
| 163 | + with: |
| 164 | + platforms: arm64 |
153 | 165 | - run: python dev/overwrite_dev_versions_with_date.py |
154 | 166 | - run: python -m pip install pybind11~=2.11.1 cibuildwheel~=3.3.1 setuptools wheel |
155 | 167 | - run: python -m cibuildwheel --print-build-identifiers |
|
0 commit comments