diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-08-30 21:06:45 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-08-30 21:06:45 +0100 |
| commit | fd6140533d232b47bd253b3e94173dcf62143106 (patch) | |
| tree | 40d4b6a3d8150e8315174bc596d6f993762fa8f3 | |
| parent | 22529ee6df4d9cf31788867624a9fdbb05df97ec (diff) | |
Build macOS arm64 wheels on Cirrus CI
| -rw-r--r-- | .cirrus.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..40a528f --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,24 @@ +macos_instance: + image: ghcr.io/cirruslabs/macos-ventura-xcode:latest + +tests_task: + install_python_script: brew install python@3.11 + + install_tox_and_virtualenv_script: python3 -m pip install tox virtualenv + + make_jq_c_script: make jq.c + + run_tests_script: tox -e py + +wheels_task: + env: + CIBW_ARCHS_MACOS: arm64 + + install_python_script: brew install python@3.11 + + install_cibuildwheel_script: python3 -m pip install cibuildwheel==2.15.0 + + build_wheels_script: cibuildwheel + + wheels_artifacts: + path: ./wheelhouse/*.whl |
