File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -154,17 +154,17 @@ jobs:
154
154
run : echo "BUILD_COMMIT_HASH=${{github.sha}}" >> $GITHUB_ENV
155
155
- name : Building wheel
156
156
run : python3 -m pip wheel . -w ./wheelhouse/ --verbose
157
- - name : Auditing wheel
158
- run : for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/audited/; done
159
- - name : Install tweaked auditwheel and add armv6l tag
157
+ - name : Auditing wheels and adding armv6l tag (Running on RPi, binaries compiled as armv6l)
160
158
run : |
161
- python3 -m pip install git+https://github.com/luxonis/auditwheel@main
162
- for whl in wheelhouse/*.whl; do python3 -m auditwheel addtag -t linux_armv7l linux_armv6l -w wheelhouse/postaudited/ "$whl"; done
159
+ for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/preaudited/; done
160
+ for whl in wheelhouse/preaudited/*.whl; do python3 -m wheel tags --platform-tag +linux_armv6l "$whl"; done
161
+ mkdir -p wheelhouse/audited/
162
+ for whl in wheelhouse/preaudited/*linux_armv6l*.whl; do cp "$whl" wheelhouse/audited/$(basename $whl); done
163
163
- name : Archive wheel artifacts
164
164
uses : actions/upload-artifact@v3
165
165
with :
166
166
name : audited-wheels
167
- path : wheelhouse/postaudited /
167
+ path : wheelhouse/audited /
168
168
- name : Deploy wheels to artifactory (if not a release)
169
169
if : startsWith(github.ref, 'refs/tags/v') != true
170
170
run : bash ./ci/upload-artifactory.sh
You can’t perform that action at this time.
0 commit comments