Skip to content

Commit

Permalink
Disable M1 build in Github Actions (#2)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #2

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: 4a6a799a75ab858ae18066f3ea79809f0752b4f0
  • Loading branch information
kiminoue7 authored and facebook-github-bot committed Mar 10, 2023
1 parent 7642d5c commit 2653a56
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 2653a56

Please sign in to comment.