Added mission status broadcast message #24
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
name: ROS2-Humble | |
# Run this workflow every time a new commit pushed to your repository | |
on: push | |
jobs: | |
build-test-colcon: | |
# Name the Job | |
name: ROS2-Humble-Ubuntu-22.04 | |
# Set the type of machine to run on | |
runs-on: ubuntu-22.04 | |
steps: | |
# Run package update | |
- name: Run package update | |
run: | | |
sudo apt-get update | |
sudo apt-get dist-upgrade -y | |
# Install ROS2 Humble | |
- name: Install ROS Humble | |
run: | | |
sudo apt update && sudo apt install locales | |
sudo locale-gen en_US en_US.UTF-8 | |
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
sudo apt install curl gnupg lsb-release | |
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(source /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null | |
sudo apt update | |
sudo apt install ros-humble-ros-base | |
# Checks out a copy of your repository | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
# Compiles the code | |
- name: Run build | |
run: | | |
source /opt/ros/humble/setup.bash | |
cd $GITHUB_WORKSPACE | |
make |