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: 94451cc7c2ac344cf2c2e5191f9447e076919f2c
  • Loading branch information
kiminoue7 authored and facebook-github-bot committed Mar 9, 2023
1 parent e636ddf commit 5c46bba
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 5c46bba

Please sign in to comment.