summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2020-08-01 22:52:12 -0500
committerGitHub <noreply@github.com>2020-08-01 23:52:12 -0400
commitaf26a4c596f655583c40a64c23241d2fae261940 (patch)
treea572bf836806da961724078a4b763129e109e1ad /.github
parenta254f291a956b8a97ecc64625543dec059e78759 (diff)
downloadpy-bcrypt-git-af26a4c596f655583c40a64c23241d2fae261940.tar.gz
more flailing with aarch64 (#213)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wheel-builder.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml
index 8b805d4..75ce494 100644
--- a/.github/workflows/wheel-builder.yml
+++ b/.github/workflows/wheel-builder.yml
@@ -123,7 +123,6 @@ jobs:
strategy:
matrix:
PYTHON: ["cp35-cp35m"]
- fail-fast: false
steps:
- uses: actions/checkout@v2
- run: |
@@ -131,16 +130,18 @@ jobs:
- uses: docker://quay.io/pypa/manylinux2014_aarch64
with:
args: |
- bash -c "/opt/python/${{ matrix.PYTHON }}/bin/pip install virtualenv;
+ bash -c "set -xe;
+ /opt/python/${{ matrix.PYTHON }}/bin/pip install virtualenv;
/opt/python/${{ matrix.PYTHON }}/bin/python -m virtualenv .venv;
- .venv/bin/pip install -U pip==10.0.1 # downgrade pip for reasons we can't remember but are definitely needed
.venv/bin/pip install setuptools wheel cffi six;
+ .venv/bin/pip install -U pip==10.0.1; # downgrade pip for reasons we can't remember but are definitely needed
REGEX='cp3([0-9])*';
if [[ ${{ matrix.PYTHON }} =~ $REGEX ]]; then
PY_LIMITED_API=\"--build-option --py-limited-api=cp3${BASH_REMATCH[1]}\";
fi;
.venv/bin/pip wheel bcrypt --no-binary bcrypt --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API;
auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/;
+ .venv/bin/pip install -U pip; # upgrade so it knows how to install a manylinux2014 wheel, sigh
.venv/bin/pip install bcrypt --no-index -f wheelhouse/;
.venv/bin/python -c \"import bcrypt; password = b'super secret password';hashed = bcrypt.hashpw(password, bcrypt.gensalt());bcrypt.checkpw(password, hashed)\";"
- run: mkdir bcrypt-wheelhouse