Skip to content
Snippets Groups Projects
Commit 7e59fa181414 authored by Paul Kehrer's avatar Paul Kehrer
Browse files

more flailing with aarch64

parent 76855da7709f
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,6 @@ ...@@ -123,7 +123,6 @@
strategy: strategy:
matrix: matrix:
PYTHON: ["cp35-cp35m"] PYTHON: ["cp35-cp35m"]
fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: | - run: |
...@@ -131,5 +130,6 @@ ...@@ -131,5 +130,6 @@
- uses: docker://quay.io/pypa/manylinux2014_aarch64 - uses: docker://quay.io/pypa/manylinux2014_aarch64
with: with:
args: | 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; /opt/python/${{ matrix.PYTHON }}/bin/python -m virtualenv .venv;
...@@ -135,3 +135,2 @@ ...@@ -135,3 +135,2 @@
/opt/python/${{ matrix.PYTHON }}/bin/python -m virtualenv .venv; /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 setuptools wheel cffi six;
...@@ -137,7 +136,8 @@ ...@@ -137,7 +136,8 @@
.venv/bin/pip install setuptools wheel cffi six; .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])*'; REGEX='cp3([0-9])*';
if [[ ${{ matrix.PYTHON }} =~ $REGEX ]]; then if [[ ${{ matrix.PYTHON }} =~ $REGEX ]]; then
PY_LIMITED_API=\"--build-option --py-limited-api=cp3${BASH_REMATCH[1]}\"; PY_LIMITED_API=\"--build-option --py-limited-api=cp3${BASH_REMATCH[1]}\";
fi; fi;
.venv/bin/pip wheel bcrypt --no-binary bcrypt --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API; .venv/bin/pip wheel bcrypt --no-binary bcrypt --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API;
auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/; auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/;
...@@ -138,9 +138,10 @@ ...@@ -138,9 +138,10 @@
REGEX='cp3([0-9])*'; REGEX='cp3([0-9])*';
if [[ ${{ matrix.PYTHON }} =~ $REGEX ]]; then if [[ ${{ matrix.PYTHON }} =~ $REGEX ]]; then
PY_LIMITED_API=\"--build-option --py-limited-api=cp3${BASH_REMATCH[1]}\"; PY_LIMITED_API=\"--build-option --py-limited-api=cp3${BASH_REMATCH[1]}\";
fi; fi;
.venv/bin/pip wheel bcrypt --no-binary bcrypt --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API; .venv/bin/pip wheel bcrypt --no-binary bcrypt --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API;
auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/; 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/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)\";" .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 - run: mkdir bcrypt-wheelhouse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment