diff --git a/.github/workflows/python-main.yml b/.github/workflows/python-main.yml index c59dd78e8c..e16649a27a 100644 --- a/.github/workflows/python-main.yml +++ b/.github/workflows/python-main.yml @@ -153,6 +153,7 @@ jobs: run: cd bindings/python && python3 -m pip wheel . -w ./wheelhouse/ --verbose - name: Auditing wheels and adding armv6l tag (Running on RPi, binaries compiled as armv6l) run: | + cd bindings/python python3 -m pip install -U wheel auditwheel for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/preaudited/; done for whl in wheelhouse/preaudited/*.whl; do python3 -m wheel tags --platform-tag +linux_armv6l "$whl"; done @@ -395,7 +396,7 @@ jobs: - name: Build wheels run: cd bindings/python && for PYBIN in /opt/python/cp3{6..11}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done - name: Audit wheels - run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done + run: cd bindings/python && for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done - name: Archive wheel artifacts uses: actions/upload-artifact@v3 with: @@ -452,7 +453,7 @@ jobs: - name: Building wheels run: cd bindings/python && for PYBIN in /opt/python/cp3{6..11}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done - name: Auditing wheels - run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done + run: cd bindings/python && for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done - name: Archive wheel artifacts uses: actions/upload-artifact@v3 with: