From dc2579b32aaec614ddcd26a7effc5a47a054a1d1 Mon Sep 17 00:00:00 2001 From: Manu Garg Date: Wed, 26 Jun 2024 11:41:40 -0700 Subject: [PATCH] Build python module for MacOS arm64 as well (#198) Build python module for arm64 for python 3.11 and 3.12. --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a69c095..b81b703 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,6 +91,14 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-13] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + architecture: [x64] + include: + - os: macos-latest + python-version: "3.11" + architecture: arm64 + - os: macos-latest + python-version: "3.12" + architecture: arm64 runs-on: ${{ matrix.os }} steps: @@ -110,7 +118,7 @@ jobs: uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: ${{ matrix.python-version }} - architecture: x64 + architecture: ${{ matrix.architecture }} - name: Set up setuptools run: |