Skip to content

Commit

Permalink
Fix empy dep (backport #678) (#679)
Browse files Browse the repository at this point in the history
* Fix empy dep (#678)

* Fix empy dep

* Fix

* Install colcon

* Fix

(cherry picked from commit fa7c612)

# Conflicts:
#	.github/workflows/ci.yml
#	.github/workflows/nightly.yml

* Fix

---------

Co-authored-by: Pablo Garrido <[email protected]>
  • Loading branch information
mergify[bot] and pablogs9 authored Dec 1, 2023
1 parent 58dc7f8 commit 7c93d68
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ jobs:
with:
path: src/micro_ros_setup

- uses: ros-tooling/setup-ros@0.6.1
- uses: ros-tooling/setup-ros@0.7.0
with:
use-ros2-testing: false
required-ros-distributions: ${{ env.ROS_DISTRO }}

- name: Dependencies
run: |
apt update
apt install -y python3-colcon-metadata python3-pip
apt install -y python3-pip
pip3 install colcon-common-extensions
rosdep update --rosdistro ${{ env.ROS_DISTRO }}
rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y
Expand Down Expand Up @@ -61,15 +62,16 @@ jobs:
with:
path: src/micro_ros_setup

- uses: ros-tooling/setup-ros@0.6.1
- uses: ros-tooling/setup-ros@0.7.0
with:
use-ros2-testing: false
required-ros-distributions: ${{ env.ROS_DISTRO }}

- name: dependencies
run: |
apt update
apt install -y python3-colcon-metadata python3-pip
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
Expand Down Expand Up @@ -207,7 +209,7 @@ jobs:
with:
path: src/micro_ros_setup

- uses: ros-tooling/setup-ros@0.6.1
- uses: ros-tooling/setup-ros@0.7.0
with:
use-ros2-testing: false
required-ros-distributions: ${{ env.ROS_DISTRO }}
Expand All @@ -217,7 +219,8 @@ jobs:
apt update
apt upgrade -y
apt-get update
apt install -y python3-colcon-metadata python3-pip cmake
apt install -y python3-pip
pip3 install colcon-common-extensions cmake
rosdep update --rosdistro ${{ env.ROS_DISTRO }}
rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ jobs:
path: src/micro_ros_setup
ref: ${{ matrix.branch }}

- uses: ros-tooling/setup-ros@0.6.1
- uses: ros-tooling/setup-ros@0.7.0
with:
use-ros2-testing: false
required-ros-distributions: ${{ matrix.distro }}

- name: Dependencies
run: |
apt update
apt install -y python3-colcon-metadata python3-pip
apt install -y python3-pip
pip3 install colcon-common-extensions
rosdep update --rosdistro ${{ matrix.distro }}
rosdep install --rosdistro ${{ matrix.distro }} -y --from-paths src --ignore-src -y
Expand Down Expand Up @@ -528,7 +529,7 @@ jobs:
path: src/micro_ros_setup
ref: ${{ matrix.branch }}

- uses: ros-tooling/setup-ros@0.6.1
- uses: ros-tooling/setup-ros@0.7.0
with:
use-ros2-testing: false
required-ros-distributions: ${{ matrix.distro }}
Expand All @@ -547,7 +548,8 @@ jobs:
echo "Using Ubuntu mainline CMake"
fi
apt-get update
apt install -y python3-colcon-metadata python3-pip cmake
apt install -y python3-pip cmake
pip3 install colcon-common-extensions cmake
rosdep update --rosdistro ${{ matrix.distro }}
rosdep install --rosdistro ${{ matrix.distro }} -y --from-paths src --ignore-src -y
Expand Down Expand Up @@ -597,15 +599,16 @@ jobs:
path: src/micro_ros_setup
ref: ${{ matrix.branch }}

- uses: ros-tooling/setup-ros@0.6.1
- uses: ros-tooling/setup-ros@0.7.0
with:
use-ros2-testing: false
required-ros-distributions: ${{ matrix.distro }}

- name: dependencies
run: |
apt update
apt install -y python3-colcon-metadata python3-pip
apt install -y python3-pip
pip3 install colcon-common-extensions
rosdep update --rosdistro ${{ matrix.distro }}
rosdep install --rosdistro ${{ matrix.distro }} -y --from-paths src --ignore-src -y
apt install -y ros-${{ matrix.distro }}-rmw-fastrtps-cpp
Expand Down
2 changes: 1 addition & 1 deletion config/freertos/esp32/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pushd $FW_TARGETDIR >/dev/null

. $IDF_PATH/export.sh

pip3 install catkin_pkg lark-parser empy
pip3 install catkin_pkg lark-parser colcon-common-extensions

popd >/dev/null

Expand Down

0 comments on commit 7c93d68

Please sign in to comment.