-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update main.yml : Adds some pip dependencies
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 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 |
---|---|---|
|
@@ -28,14 +28,21 @@ jobs: | |
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: ${{ matrix.ros_distribution }} | ||
- name: Setup Github Actions | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 2 | ||
- name: Build and Test | ||
uses: ros-tooling/[email protected] | ||
with: | ||
package-name: ${{ matrix.test_apps }} | ||
target-ros2-distro: ${{ matrix.ros_distribution }} | ||
run: | | ||
./installations.sh | ||
pip uninstall em && pip3 uninstall em | ||
apt install python3-colcon-common-extensions | ||
pip3 install catkin_pkg lark-parser colcon-common-extensions | ||
rosdep install --from-paths src --ignore-src -y | ||
cd ${{ matrix.test-apps }} | ||
source /opt/ros/humble/setup.bash | ||
colcon build | ||
|
@@ -69,6 +76,7 @@ jobs: | |
- name: Test ${{ matrix.test-apps }} | ||
run: | | ||
. $IDF_PATH/export.sh | ||
./installations.sh | ||
pip3 install catkin_pkg lark-parser colcon-common-extensions | ||
rosdep install --from-paths src --ignore-src -y | ||
cd firmware/${{ matrix.test-apps }} | ||
idf.py build |