From 5c46bba73ca8e280b8635f4a448a3c6bacc312e9 Mon Sep 17 00:00:00 2001 From: Yuta Inoue Date: Thu, 9 Mar 2023 13:07:16 -0800 Subject: [PATCH] Disable M1 build in Github Actions Summary: It turns out that the M1 build is not working in Github Actions and will be supported in Q3 2023: https://github.com/actions/runner-images/issues/2187 Since this doesn't work right now, disable this build Differential Revision: D43954575 fbshipit-source-id: 94451cc7c2ac344cf2c2e5191f9447e076919f2c --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e2e1753..dd37717 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -68,7 +68,9 @@ jobs: python3 -m cibuildwheel --output-dir dist env: CIBW_ARCHS_LINUX: x86_64 - CIBW_ARCHS_MACOS: "x86_64 arm64" + # apple M1 image is not supported yet in Github Action: https://github.com/actions/runner-images/issues/2187 + # We need to manually build this locally until this will be supported. + CIBW_ARCHS_MACOS: x86_64 # "x86_64 arm64" CIBW_BUILD: "cp37-*64 cp38-*64 cp39-*64 cp310-*64 cp311-*64" CIBW_BEFORE_BUILD_LINUX: bash scripts/install-manylinux-deps.sh CIBW_BEFORE_BUILD_MACOS: bash scripts/install-macos-deps.sh