Skip to content

Commit

Permalink
Support builds on 24.04 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored Jun 18, 2024
1 parent d82d22c commit 4fb801a
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,13 @@ inputs:
runs:
using: "composite"
steps:
- name: Install colcon depends (Linux)
- name: Install base dependencies (Linux)
if: runner.os == 'Linux'
shell: bash
run: |
apt update
apt update -y -qq
apt upgrade -y
apt install -y cmake curl git python3 python3-distutils python3-pip
python3 -m pip install vcstool -q
python3 -m pip install colcon-common-extensions -q
apt install -y cmake curl git python3 python3-pip
- name: Install colcon depends (Windows)
if: runner.os == 'Windows'
Expand All @@ -76,13 +74,20 @@ runs:
run: |
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 $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
apt update -qq
apt update -y -qq
- name: Install ROS infrastructure dependencies (Linux)
if: runner.os == 'Linux'
shell: bash
run: |
apt update -y -qq
apt upgrade -y -qq
apt install -y -qq python3-vcstool python3-colcon-common-extensions python3-rosdep
- name: Install rosdep depends
if: inputs.rosdep-enabled == 'true' && runner.os == 'Linux'
shell: bash
run: |
python3 -m pip install rosdep -q
if ! [ -d /etc/ros/rosdep/sources.list.d ]; then
rosdep init
fi
Expand Down

0 comments on commit 4fb801a

Please sign in to comment.