From 3f75a17a283c2c1c99d89419700fee646076c075 Mon Sep 17 00:00:00 2001 From: "William F. Broderick" Date: Mon, 18 Dec 2023 13:43:18 -0500 Subject: [PATCH] adds cross-compilation for Apple Silicon --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 18ad20d..0063d7b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,6 +25,9 @@ jobs: CIBW_ARCHS: native CIBW_BUILD_FRONTEND: build CIBW_TEST_COMMAND: "python {project}/TESTS/unitTests.py" + # cross-compilation for Apple Silicon: + # https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile + CIBW_ARCHS_MACOS: x86_64 arm64 - name: "Upload wheel as artifact" uses: actions/upload-artifact@v4