mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
Skip missing Python interpreters in scripts/run_all.sh
musllinux images miss PyPy interpreters, we want to skip building PyPy wheels for musl instead of failing the build. Also remove workaround from CI scripts.
This commit is contained in:
@@ -280,8 +280,7 @@ jobs:
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
sed s/pypy37,pypy38,pypy39,// scripts/run_all.sh >/tmp/run_all.sh
|
||||
bash /tmp/run_all.sh
|
||||
scripts/run_all.sh
|
||||
|
||||
# Upload musl x86_64 wheels
|
||||
- task: upload-wheels
|
||||
|
||||
@@ -33,7 +33,10 @@ mkdir -p $TOXWORKDIR
|
||||
# Note that the independent remote_tests_python step does all kinds of
|
||||
# live-testing already.
|
||||
unset DCC_NEW_TMP_EMAIL
|
||||
tox --workdir "$TOXWORKDIR" -e py37,py38,py39,py310,pypy37,pypy38,pypy39,auditwheels
|
||||
|
||||
# Try to build wheels for a range of interpreters, but don't fail if they are not available.
|
||||
# E.g. musllinux_1_1 does not have PyPy interpreters as of 2022-07-10
|
||||
tox --workdir "$TOXWORKDIR" -e py37,py38,py39,py310,pypy37,pypy38,pypy39,auditwheels --skip-missing-interpreters true
|
||||
popd
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user