forked from jsk-ros-pkg/jsk_aerial_robot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from tongtybj/GA/jammy
[ROS-O][GA] build all packages and refactor github action scripts
- Loading branch information
Showing
5 changed files
with
67 additions
and
98 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Get VERSION_CODENAME from /etc/os-release | ||
DISTRO=$(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2) | ||
|
||
# Conditional branching based on distro_codename | ||
if [ "$DISTRO" = "jammy" ]; then | ||
echo "This is Ubuntu 22.04 (jammy). Install ROS-O" | ||
|
||
sudo apt install -y python3-pip | ||
pip3 install catkin-tools | ||
echo "deb [trusted=yes] https://raw.githubusercontent.com/sugikazu75/ros-o-builder/$DISTRO-one-unstable/repository ./" | sudo tee /etc/apt/sources.list.d/sugikazu75_ros-o-builder.list | ||
sudo apt update | ||
sudo apt install -y python3-rosdep2 | ||
echo "yaml https://raw.githubusercontent.com/sugikazu75/ros-o-builder/$DISTRO-one-unstable/repository/local.yaml debian" | sudo tee /etc/ros/rosdep/sources.list.d/1-sugikazu75_ros-o-builder.list | ||
rosdep update | ||
sudo apt install -y ros-one-desktop-full | ||
sudo apt install -y python3-wstool | ||
fi |