googlefonts / cu2qu

Cubic-to-quadratic bezier curve conversion
Apache License 2.0
64 stars 21 forks source link

Debug CI #194

Closed madig closed 3 years ago

anthrotype commented 3 years ago

@madig since you're touching the CI setup, why don't we also build arm64 and universal2 wheels for the latest Mac chips? See how uharfbuzz did that

m4rc1e commented 3 years ago

why don't we also build arm64 and universal2 wheels for the latest Mac chips? See how uharfbuzz did that

oooh! is this something we could use for ft, ttfa etc as well? (apologies for the hijack)

anthrotype commented 3 years ago

@m4rc1e the trick to build arm64 wheels is to use cibuildwheel and macOS 11. Simon already did it for ttfautohint-py https://github.com/fonttools/ttfautohint-py/pull/8

m4rc1e commented 3 years ago

Sweet thank you Cosimo!

madig commented 3 years ago

I think the auto64 marker builds all 64 bit things for ARM: https://cibuildwheel.readthedocs.io/en/stable/options/#archs.

anthrotype commented 3 years ago

I only see the x86_64 wheels been built at https://github.com/googlefonts/cu2qu/pull/194/checks?check_run_id=3281444036#step:5:1748

anthrotype commented 3 years ago

Khaled explicitly listed all three of them in https://github.com/harfbuzz/uharfbuzz/blob/732390ac8ba59d6e2e2e9dc7521f865e6c3a72b5/pyproject.toml#L20-L21 and his setup worked. Maybe GH runners do not actually run on the M1 chip and they only cross-compile

madig commented 3 years ago

Ah, because we run on macOS x64_64 🤔