BerkeleyAutomation / python-fcl

Python binding of FCL library
BSD 3-Clause "New" or "Revised" License
203 stars 58 forks source link

Enable MacOS ARM Runner And Wheels #74

Closed mikedh closed 8 months ago

mikedh commented 11 months ago
mikedh commented 11 months ago

Tried the suggestion in #61... anyone with an ARM mac want to try the wheels in this build: https://github.com/BerkeleyAutomation/python-fcl/suites/18753693015/artifacts/1092358848

mikedh commented 8 months ago

Github very recently released M1 runners (runs-on: macos-14) and I just enabled them, it is building and running tests natively on arm64 (vs previously was cross-compiling). Tests appear to be passing:


  ============================= test session starts ==============================
  platform darwin -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
  rootdir: /Users/runner/work/python-fcl/python-fcl
  configfile: pyproject.toml
  collected 15 items

  ../../../../../../../../../Users/runner/work/python-fcl/python-fcl/tests/test_fcl.py . [  6%]
  .......                                                                  [ 53%]
  ../../../../../../../../../Users/runner/work/python-fcl/python-fcl/tests/test_precision.py . [ 60%]
  ......                                                                   [100%]

  ============================== 15 passed in 0.08s ==============================
                                                              ✓ 4.30s

✓ cp312-macosx_arm64 finished in 17.97s