Skip to content

Commit

Permalink
Disable M1 build in Github Actions
Browse files Browse the repository at this point in the history
Summary:
It turns out that the M1 build is not working in Github Actions and will be supported in Q3 2023: actions/runner-images#2187

Since this doesn't work right now, disable this build

Differential Revision: D43954575

fbshipit-source-id: 9636707ff59cc1747f24d3ac8a4222757e45941a
  • Loading branch information
kiminoue7 authored and facebook-github-bot committed Mar 9, 2023
1 parent b4e90df commit 70416cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70416cc

Please sign in to comment.