From f703caab58751d22f98855998b1da033a00e378b Mon Sep 17 00:00:00 2001 From: mayeut Date: Mon, 23 Sep 2024 20:10:36 +0200 Subject: [PATCH] feat: allow tests to run on riscv64 riscv64 wheel upload to PyPI is not allowed though. --- tests/manylinux-check.py | 1 + tests/run_tests.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/manylinux-check.py b/tests/manylinux-check.py index 980fd986..6531cca6 100644 --- a/tests/manylinux-check.py +++ b/tests/manylinux-check.py @@ -50,6 +50,7 @@ def is_manylinux2014_compatible(): "linux-ppc64", "linux-ppc64le", "linux-s390x", + "linux-riscv64", ]: return False diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 9db65bee..d6123198 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -97,7 +97,7 @@ for PYTHON in /opt/python/*/bin/python; do echo "invalid answer, expecting 42" exit 1 fi - if [ "${PYVERS}" != "3.6" ] && [ "${PYVERS}" != "3.7" ] && [ "${IMPLEMENTATION}" != "graalpy" ] && [ "${AUDITWHEEL_POLICY:0:9}_${AUDITWHEEL_ARCH}" != "musllinux_s390x" ] && [ "${AUDITWHEEL_ARCH}" != "ppc64le" ] && [ "${AUDITWHEEL_ARCH}" != "armv7l" ]; then + if [ "${PYVERS}" != "3.6" ] && [ "${PYVERS}" != "3.7" ] && [ "${IMPLEMENTATION}" != "graalpy" ] && [ "${AUDITWHEEL_POLICY:0:9}_${AUDITWHEEL_ARCH}" != "musllinux_s390x" ] && [ "${AUDITWHEEL_ARCH}" != "ppc64le" ] && [ "${AUDITWHEEL_ARCH}" != "armv7l" ] && [ "${AUDITWHEEL_ARCH}" != "riscv64" ]; then # no uv on musllinux s390x # FIXME, armv7l test fails on Travis CI but works with qemu (maybe armv8l vs armv7l ?) # FIXME, ppc64le test fails on Travis CI but works with qemu