Skip to content

Commit

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

* Fix

* Install colcon

* Fix

(cherry picked from commit fa7c612)

# Conflicts:
#	.github/workflows/ci.yml
#	.github/workflows/nightly.yml
  • Loading branch information
pablogs9 authored and mergify[bot] committed Dec 1, 2023
1 parent 58dc7f8 commit 0a9508e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,20 @@ jobs:
with:
path: src/micro_ros_setup

<<<<<<< HEAD
- uses: ros-tooling/[email protected]
=======
- uses: ros-tooling/[email protected]
>>>>>>> fa7c612 (Fix empy dep (#678))
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 +66,20 @@ jobs:
with:
path: src/micro_ros_setup

<<<<<<< HEAD
- uses: ros-tooling/[email protected]
=======
- uses: ros-tooling/[email protected]
>>>>>>> fa7c612 (Fix empy dep (#678))
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 +217,11 @@ jobs:
with:
path: src/micro_ros_setup

<<<<<<< HEAD
- uses: ros-tooling/[email protected]
=======
- uses: ros-tooling/[email protected]
>>>>>>> fa7c612 (Fix empy dep (#678))
with:
use-ros2-testing: false
required-ros-distributions: ${{ env.ROS_DISTRO }}
Expand All @@ -217,7 +231,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
23 changes: 21 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,20 @@ jobs:
path: src/micro_ros_setup
ref: ${{ matrix.branch }}

<<<<<<< HEAD
- uses: ros-tooling/[email protected]
=======
- uses: ros-tooling/[email protected]
>>>>>>> fa7c612 (Fix empy dep (#678))
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 +533,11 @@ jobs:
path: src/micro_ros_setup
ref: ${{ matrix.branch }}

<<<<<<< HEAD
- uses: ros-tooling/[email protected]
=======
- uses: ros-tooling/[email protected]
>>>>>>> fa7c612 (Fix empy dep (#678))
with:
use-ros2-testing: false
required-ros-distributions: ${{ matrix.distro }}
Expand All @@ -538,6 +547,7 @@ jobs:
apt update
apt upgrade -y
# Install last version of CMake
<<<<<<< HEAD
if [ ${{ matrix.rtos }} = "mbed" ] && [ $(lsb_release -sr) = "20.04" ]; then
echo "Adding Kitware CMake repo to install latest CMake"
apt install -y apt-transport-https ca-certificates gnupg software-properties-common wget
Expand All @@ -548,6 +558,10 @@ jobs:
fi
apt-get update
apt install -y python3-colcon-metadata python3-pip cmake
=======
apt install -y python3-pip
pip3 install colcon-common-extensions cmake
>>>>>>> fa7c612 (Fix empy dep (#678))
rosdep update --rosdistro ${{ matrix.distro }}
rosdep install --rosdistro ${{ matrix.distro }} -y --from-paths src --ignore-src -y

Expand Down Expand Up @@ -597,15 +611,20 @@ jobs:
path: src/micro_ros_setup
ref: ${{ matrix.branch }}

<<<<<<< HEAD
- uses: ros-tooling/[email protected]
=======
- uses: ros-tooling/[email protected]
>>>>>>> fa7c612 (Fix empy dep (#678))
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 0a9508e

Please sign in to comment.