From 70416cc2acc6b6cd30697d14969a4366c987ebed Mon Sep 17 00:00:00 2001 From: Yuta Inoue Date: Thu, 9 Mar 2023 13:06:54 -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: 9636707ff59cc1747f24d3ac8a4222757e45941a --- .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