-
Notifications
You must be signed in to change notification settings - Fork 109
Galactic update #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Galactic update #187
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d028006
Update repos files for Galactic
jacobperron a1b4409
Remove legacy CI files
jacobperron fe96b5e
Updates for Foxy
jacobperron a66d14e
Update workflow
jacobperron 39dd513
Update README
jacobperron 6bf1e54
Remove dependency on opensplice (#47)
jacobperron ff67bad
Remove dependency on rmw_implementation
jacobperron f39bbf5
Fix cmake lint
jacobperron 90a0de5
Use the sequence number correctly when sending a request (#63)
ivanpauno 7f5279b
Update android workflow
jacobperron 23d21c0
Update symlink name
jacobperron 9a78180
Install qemu and set CMAKE_CROSSCOMPILING_EMULATOR
ivanpauno dc92c23
Add missing dependencies to repos file
ivanpauno 838e252
Skip tests on packages using mimick
ivanpauno 8887194
Ignore rcl_logging_spdlog
ivanpauno 9e70f85
Add cmake option needed by fastdds
ivanpauno 0867e37
Force using android-ifaddrs
ivanpauno 1b07cbb
Fix ament_add_junit_tests()
ivanpauno 7de9a1d
Fix typesupports not being found issue
ivanpauno 65dbbc8
Replace deprecated unencrypted git protocol
ivanpauno 6cf32f4
Depend on rosidl_generator_cpp
ivanpauno 610299c
Use noop logging implementation
ivanpauno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -4,24 +4,54 @@ on: [push, pull_request] | |
|
|
||
| jobs: | ||
| build_and_test: | ||
| runs-on: ubuntu-18.04 | ||
| runs-on: ubuntu-20.04 | ||
| steps: | ||
| - name: Install Java | ||
| run: | | ||
| sudo apt-get update -qq | ||
| sudo apt-get install -y default-jdk gradle | ||
| - uses: actions/checkout@v2 | ||
| - uses: ros-tooling/setup-ros@0.2.1 | ||
| - uses: ros-tooling/setup-ros@v0.2 | ||
| with: | ||
| required-ros-distributions: dashing | ||
| required-ros-distributions: galactic | ||
| - uses: ros-tooling/[email protected] | ||
| with: | ||
| package-name: rosidl_generator_java rcljava_common rcljava | ||
| target-ros2-distro: dashing | ||
| target-ros2-distro: galactic | ||
| vcs-repo-file-url: ${{ github.workspace }}/ros2_java_desktop.repos | ||
|
|
||
| build_android: | ||
| runs-on: ubuntu-18.04 | ||
| runs-on: ubuntu-20.04 | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - colcon_meta: | | ||
| { | ||
| "names": { | ||
| "rcl": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| "rcl_yaml_param_parser": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| "rclcpp": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| "rclcpp_action": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| "rclcpp_lifecycle": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| "rcutils": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| "rosidl_typesupport_c": { | ||
| "cmake-args": [ "-DBUILD_TESTING=OFF" ] | ||
| }, | ||
| } | ||
| } | ||
| steps: | ||
| - name: Install Java | ||
| run: | | ||
|
|
@@ -43,20 +73,25 @@ jobs: | |
| sudo apt-get update && sudo apt-get install -y python3-colcon-common-extensions python3-vcstool python3-lark-parser python3-dev | ||
| - name: Install colcon extensions for Gradle | ||
| run: | | ||
| sudo pip3 install git+git://github.com/colcon/colcon-gradle.git | ||
| sudo pip3 install git+git://github.com/colcon/colcon-ros-gradle.git | ||
| sudo pip3 install git+https://github.com/colcon/colcon-gradle.git | ||
| sudo pip3 install git+https://github.com/colcon/colcon-ros-gradle.git | ||
| - name: Install Android NDK | ||
| run: | | ||
| curl -LO https://dl.google.com/android/repository/android-ndk-r21d-linux-x86_64.zip | ||
| unzip android-ndk-r21d-linux-x86_64.zip | ||
| - name: Install QEMU emulation binaries | ||
| run: | | ||
| sudo apt-get update && sudo apt-get install -y qemu-user | ||
| - name: Setup workspace with VCS repo file | ||
| run: | | ||
| mkdir -p ros2_java_ws/src | ||
| cd ros2_java_ws | ||
| curl -sL file://${{ github.workspace }}/ros2_java_android.repos | vcs import src | ||
| # Use checked out version of ros2_java | ||
| rm -rf src/ros2_java/ros2_java | ||
| ln --symbolic ${{ github.workspace }} src/ros2_java | ||
| rm -rf src/ros2-java/ros2_java | ||
| ln --symbolic ${{ github.workspace }} src/ros2-java | ||
| - name: Create colcon defaults file | ||
| run: printf "${{matrix.colcon_meta}}" > ${{ github.workspace }}/colcon.meta | ||
| - name: Build ros2_java for Android | ||
| run: | | ||
| export PYTHON3_EXEC="$( which python3 )" | ||
|
|
@@ -69,9 +104,11 @@ jobs: | |
|
|
||
| cd ros2_java_ws | ||
| colcon build \ | ||
| --packages-ignore cyclonedds rcl_logging_log4cxx rosidl_generator_py \ | ||
| --packages-ignore cyclonedds rcl_logging_spdlog rcl_logging_log4cxx rosidl_generator_py \ | ||
| --packages-up-to rcljava \ | ||
| --metas ${{ github.workspace }}/colcon.meta \ | ||
| --cmake-args \ | ||
| -DRCL_LOGGING_IMPLEMENTATION=rcl_logging_noop \ | ||
| -DPYTHON_EXECUTABLE=${PYTHON3_EXEC} \ | ||
| -DPYTHON_LIBRARY=${PYTHON3_LIBRARY} \ | ||
| -DPYTHON_INCLUDE_DIR=${PYTHON3_INCLUDE_DIR} \ | ||
|
|
@@ -82,6 +119,9 @@ jobs: | |
| -DANDROID_STL=c++_shared \ | ||
| -DANDROID_ABI=${ANDROID_ABI} \ | ||
| -DANDROID_NDK=${ANDROID_NDK} \ | ||
| -DANDROID=ON \ | ||
| -DTHIRDPARTY_android-ifaddrs=FORCE \ | ||
| -DTHIRDPARTY=ON \ | ||
| -DCOMPILE_EXAMPLES=OFF \ | ||
| -DCMAKE_FIND_ROOT_PATH="${PWD}/install" | ||
| -DCMAKE_FIND_ROOT_PATH="${PWD}/install" \ | ||
| -DCMAKE_CROSSCOMPILING_EMULATOR="/usr/bin/qemu-arm" | ||
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will introduce conflicts with changes in https://github.com/osrf/ros2_java/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this conflicts don't matter much, I'm ok with them