diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e3baf90..98e41be 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -13,6 +13,12 @@ on: types: - published +env: + # Build `universal2` and `arm64` wheels on an Intel runner. + # Note that the `arm64` wheel and the `arm64` part of the `universal2` + # wheel cannot be tested in this configuration. + CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" + jobs: check-version-strings: runs-on: ubuntu-latest @@ -34,7 +40,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, windows-2022, macos-11] + os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v4