Skip to content

Commit

Permalink
Merge pull request #100 from harfbuzz/macos-arm-wheels
Browse files Browse the repository at this point in the history
Build arm64/universal2 wheels for Apple Silicon
  • Loading branch information
khaledhosny authored Aug 6, 2021
2 parents cd91f94 + eda0c36 commit 732390a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
# skip 2.7, 3.4 and 3.5: for now, only build for >= 3.6 64-bit
CIBW_SKIP: "cp27-* cp33-* cp34-* cp35-* *-manylinux_i686"
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pushd {project} && pytest"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux1"
CIBW_MANYLINUX_I686_IMAGE: "manylinux1"

steps:
- uses: actions/checkout@v2
Expand Down
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ requires = [
"cython >= 0.28.1",
]
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
# skip 2.7, 3.3, 3.4 and 3.5: for now, only build for >= 3.6 64-bit
skip = ["cp27-*", "cp33-*", "cp34-*", "cp35-*", "*-manylinux_i686"]

test-requires = "pytest"
test-command = "pushd {project} && pytest"

manylinux-x86_64-image = "manylinux1"
manylinux-i686-image = "manylinux1"

[tool.cibuildwheel.macos]
archs = ["x86_64", "universal2", "arm64"]

0 comments on commit 732390a

Please sign in to comment.