Skip to content

Commit

Permalink
feat: allow tests to run on riscv64
Browse files Browse the repository at this point in the history
riscv64 wheel upload to PyPI is not allowed though.
  • Loading branch information
mayeut committed Sep 23, 2024
1 parent 6238f5b commit f703caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/manylinux-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def is_manylinux2014_compatible():
"linux-ppc64",
"linux-ppc64le",
"linux-s390x",
"linux-riscv64",
]:
return False

Expand Down
2 changes: 1 addition & 1 deletion tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f703caa

Please sign in to comment.