Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated map to 2.5.0 * Added python wheels build * Removed static linking on general python build and remove the additional not required module shared library * Remove outdated and complicated plain cmake handling from docu * Updated version number to 4.5.0
- Loading branch information
1 parent
ee0136e
commit 2ce3bc8
Showing
30 changed files
with
1,264 additions
and
1,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build and Publish wheels for ad-rss-lib Library | ||
|
||
on: | ||
release: | ||
types: [published] | ||
push: | ||
branches: master | ||
pull_request: | ||
branches: master | ||
|
||
jobs: | ||
wheels: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_binding_version: [2.7, 3.6, 3.7, 3.8] | ||
container: | ||
image: joelmb/map:${{ matrix.python_binding_version }} | ||
env: | ||
WHEEL_PLATFORM: manylinux_2_27_x86_64 | ||
PYTHON_BINDING_VERSION: ${{ matrix.python_binding_version }} | ||
steps: | ||
# We currently cannot use checkout@v2 because git version on the docker images is below 2.18 | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 1 | ||
submodules: true | ||
- name: Build wheels | ||
run: | | ||
colcon build --packages-up-to ad_rss_map_integration --meta colcon_python.meta --event-handlers console_direct+ --cmake-args -DPYTHON_BINDING_VERSION=${PYTHON_BINDING_VERSION} | ||
- name: Repair wheels | ||
shell: bash | ||
run: | | ||
source install/setup.bash | ||
for whl in install/ad_rss/dist/*.whl; do | ||
auditwheel repair $whl --plat ${WHEEL_PLATFORM} --wheel-dir wheelhouse | ||
done | ||
for whl in install/ad_rss_map_integration/dist/*.whl; do | ||
auditwheel repair $whl --plat ${WHEEL_PLATFORM} --wheel-dir wheelhouse | ||
done | ||
- name: Publish wheels to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
if: ${{ github.event_name == 'release'}} | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
packages_dir: wheelhouse/ |
Oops, something went wrong.