summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cirrus.yml24
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