Skip to content

Commit f703caa

Browse files
committed
feat: allow tests to run on riscv64
riscv64 wheel upload to PyPI is not allowed though.
1 parent 6238f5b commit f703caa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/manylinux-check.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def is_manylinux2014_compatible():
5050
"linux-ppc64",
5151
"linux-ppc64le",
5252
"linux-s390x",
53+
"linux-riscv64",
5354
]:
5455
return False
5556

tests/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ for PYTHON in /opt/python/*/bin/python; do
9797
echo "invalid answer, expecting 42"
9898
exit 1
9999
fi
100-
if [ "${PYVERS}" != "3.6" ] && [ "${PYVERS}" != "3.7" ] && [ "${IMPLEMENTATION}" != "graalpy" ] && [ "${AUDITWHEEL_POLICY:0:9}_${AUDITWHEEL_ARCH}" != "musllinux_s390x" ] && [ "${AUDITWHEEL_ARCH}" != "ppc64le" ] && [ "${AUDITWHEEL_ARCH}" != "armv7l" ]; then
100+
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
101101
# no uv on musllinux s390x
102102
# FIXME, armv7l test fails on Travis CI but works with qemu (maybe armv8l vs armv7l ?)
103103
# FIXME, ppc64le test fails on Travis CI but works with qemu

0 commit comments

Comments
 (0)