Skip to content

Commit

Permalink
auditwheel
Browse files Browse the repository at this point in the history
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
  • Loading branch information
francocipollone committed Aug 15, 2023
1 parent a00c39c commit e38068e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
--event-handlers=console_direct+
- name: install extra dependencies
shell: bash
run: sudo apt install patchelf -y
run: pip install patchelf auditwheel
- name: build wheel
shell: bash
working-directory: ${{ env.ROS_WS }}
Expand All @@ -59,7 +59,20 @@ jobs:
--cmake-args -DWHEEL_GENERATION=True \
--event-handlers=console_direct+
- name: upload wheel
- name: upload default wheel
uses: actions/upload-artifact@v2
with:
path: ${{ env.ROS_WS }}/build/${{ env.PACKAGE_NAME }}/bin/wheel/*
path: ${{ env.ROS_WS }}/build/${{ env.PACKAGE_NAME }}/bin/wheel/*.whl

- name: auditwheel repair wheel
shell: bash
working-directory: ${{ env.ROS_WS }}
run: |
. /opt/ros/${ROS_DISTRO}/setup.bash;
. install/setup.bash;
auditwheel repair build/${PACKAGE_NAME}/bin/wheel/*.whl --plat linux_x86_64 -w build/${PACKAGE_NAME}/bin/wheel/auditwheel_repaired
- name: upload repaired wheel
uses: actions/upload-artifact@v2
with:
path: ${{ env.ROS_WS }}/build/${{ env.PACKAGE_NAME }}/bin/wheel/auditwheel_repaired/*.whl

0 comments on commit e38068e

Please sign in to comment.