From 153cc5b108c070ab4d2004f143efa4adbd86370b Mon Sep 17 00:00:00 2001 From: Michael O'Keefe Date: Mon, 18 Nov 2024 15:48:57 -0700 Subject: [PATCH] Set up Python to use native python for macos (Apple Silicon) --- .github/workflows/build_and_test.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index c57b520b..127b2dab 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -24,7 +24,14 @@ jobs: runs-on: ${{ format('{0}-latest', matrix.os) }} steps: - uses: actions/checkout@v4 - - name: set up python + - name: set up python for MacOS + if: matrix.os == 'macos' + uses: actions/setup-python@v5 + with: + python-version: "3.10" + architecture: arm64 + - name: set up python for non-Mac OS + if: matrix.os != 'macos' uses: actions/setup-python@v5 with: python-version: "3.10"