Build ABI3 wheels in CI

This commit is contained in:
Erik Johnston 2024-04-30 10:37:28 +01:00
parent 8410856411
commit 901647e91c

View file

@ -406,7 +406,7 @@ environment= { PATH = "$PATH:$HOME/.cargo/bin" }
# can end up polluting the next build with a .so that is for the wrong
# Python version.
before-build = "rm -rf {project}/build"
build-frontend = "build"
build-frontend = "build; args: --config-settings=--build-option=--py-limited-api=cp38" # Build ABI3 wheels for 3.8+
test-command = "python -c 'from synapse.synapse_rust import sum_as_string; print(sum_as_string(1, 2))'"