Skip to content

Commit

Permalink
Tweak existing armv7l wheels to be presented with armv7l & armv6l tag…
Browse files Browse the repository at this point in the history
…s (built on RPi, toolchains target armv6l by default)
  • Loading branch information
themarpe committed Jun 21, 2023
1 parent 0d742b5 commit 02ae1ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,18 @@ jobs:
run: python3 -m pip wheel . -w ./wheelhouse/ --verbose
- name: Auditing wheel
run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/audited/; done
- name: Install tweaked auditwheel and add armv6l tag
run: |
python3 -m venv newauditvenv
source newauditvenv/bin/activate
python3 -m pip install git+https://github.com/luxonis/auditwheel@main
for whl in wheelhouse/*.whl; do python3 -m auditwheel addtag -t linux_armv7l linux_armv6l -w wheelhouse/postaudited/ "$whl"; done
deactivate
- name: Archive wheel artifacts
uses: actions/upload-artifact@v3
with:
name: audited-wheels
path: wheelhouse/audited/
path: wheelhouse/postaudited/
- name: Deploy wheels to artifactory (if not a release)
if: startsWith(github.ref, 'refs/tags/v') != true
run: bash ./ci/upload-artifactory.sh
Expand Down

0 comments on commit 02ae1ad

Please sign in to comment.