-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Rolling agent Signed-off-by: Pablo Garrido <[email protected]> * Remove Agent workflow --------- Signed-off-by: Pablo Garrido <[email protected]>
- Loading branch information
Showing
1 changed file
with
50 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
path: src/micro_ros_setup | ||
ref: ${{ inputs.ci_target_ref }} | ||
|
||
- uses: ros-tooling/[email protected].0 | ||
- uses: ros-tooling/[email protected].7 | ||
with: | ||
use-ros2-testing: false | ||
required-ros-distributions: ${{ env.ROS_DISTRO }} | ||
|
@@ -51,53 +51,54 @@ jobs: | |
name: micro_ros_build_${{ inputs.ci_target_ref }} | ||
path: install | ||
|
||
micro_ros_agent: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ubuntu:jammy | ||
strategy: | ||
fail-fast: false | ||
needs: micro_ros_build | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/micro_ros_setup | ||
ref: ${{ inputs.ci_target_ref }} | ||
|
||
- uses: ros-tooling/[email protected] | ||
with: | ||
use-ros2-testing: false | ||
required-ros-distributions: ${{ env.ROS_DISTRO }} | ||
|
||
- name: dependencies | ||
run: | | ||
apt update | ||
apt install -y python3-pip | ||
pip3 install colcon-common-extensions | ||
apt install -y ros-${{ env.ROS_DISTRO }}-rmw-fastrtps-cpp | ||
rosdep update --rosdistro ${{ env.ROS_DISTRO }} | ||
rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y | ||
- uses: actions/download-artifact@v1 | ||
with: | ||
name: micro_ros_build_${{ inputs.ci_target_ref }} | ||
path: install | ||
|
||
# Workaround https://github.com/actions/upload-artifact/issues/38 | ||
- run: | | ||
chmod +x -R install | ||
- name: build | ||
run: | | ||
. /opt/ros/${{ env.ROS_DISTRO }}/setup.sh | ||
. install/local_setup.sh | ||
ros2 run micro_ros_setup create_agent_ws.sh | ||
ros2 run micro_ros_setup build_agent.sh | ||
- name: installation | ||
run: | | ||
(test -f install/micro_ros_agent/lib/micro_ros_agent/micro_ros_agent) && true || false | ||
# Skiped due to libfastcdr version 1 distributed en ROS 2 Rolling | ||
# micro_ros_agent: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: ubuntu:jammy | ||
# strategy: | ||
# fail-fast: false | ||
# needs: micro_ros_build | ||
|
||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# path: src/micro_ros_setup | ||
# ref: ${{ inputs.ci_target_ref }} | ||
|
||
# - uses: ros-tooling/[email protected] | ||
# with: | ||
# use-ros2-testing: false | ||
# required-ros-distributions: ${{ env.ROS_DISTRO }} | ||
|
||
# - name: dependencies | ||
# run: | | ||
# apt update | ||
# apt install -y python3-pip | ||
# pip3 install colcon-common-extensions | ||
# apt install -y ros-${{ env.ROS_DISTRO }}-rmw-fastrtps-cpp | ||
# rosdep update --rosdistro ${{ env.ROS_DISTRO }} | ||
# rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y | ||
|
||
# - uses: actions/download-artifact@v1 | ||
# with: | ||
# name: micro_ros_build_${{ inputs.ci_target_ref }} | ||
# path: install | ||
|
||
# # Workaround https://github.com/actions/upload-artifact/issues/38 | ||
# - run: | | ||
# chmod +x -R install | ||
|
||
# - name: build | ||
# run: | | ||
# . /opt/ros/${{ env.ROS_DISTRO }}/setup.sh | ||
# . install/local_setup.sh | ||
# ros2 run micro_ros_setup create_agent_ws.sh | ||
# ros2 run micro_ros_setup build_agent.sh | ||
|
||
# - name: installation | ||
# run: | | ||
# (test -f install/micro_ros_agent/lib/micro_ros_agent/micro_ros_agent) && true || false | ||
|
||
micro_ros_client: | ||
runs-on: ubuntu-latest | ||
|
@@ -213,7 +214,7 @@ jobs: | |
path: src/micro_ros_setup | ||
ref: ${{ inputs.ci_target_ref }} | ||
|
||
- uses: ros-tooling/[email protected].0 | ||
- uses: ros-tooling/[email protected].7 | ||
with: | ||
use-ros2-testing: false | ||
required-ros-distributions: ${{ env.ROS_DISTRO }} | ||
|