diff --git a/.github/workflows/cmake-ros.yml b/.github/workflows/cmake-ros.yml index a3a663103d..f84b45e448 100644 --- a/.github/workflows/cmake-ros.yml +++ b/.github/workflows/cmake-ros.yml @@ -22,10 +22,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - ros_distribution: [melodic, noetic, foxy, humble, rolling] + ros_distribution: [ noetic, foxy, humble, rolling] include: - - ros_distribution: 'melodic' - os: ubuntu-18.04 - ros_distribution: 'noetic' os: ubuntu-20.04 - ros_distribution: 'foxy' @@ -44,13 +42,13 @@ jobs: with: required-ros-distributions: ${{ matrix.ros_distribution }} + - uses: actions/checkout@v2 + - name: Install dependencies run: | - sudo apt-get update - sudo apt-get -y install ros-${{ matrix.ros_distribution }}-rtabmap - sudo apt-get -y remove ros-${{ matrix.ros_distribution }}-rtabmap - - - uses: actions/checkout@v2 + source /opt/ros/${{ matrix.ros_distribution }}/setup.bash + rosdep update + rosdep install --from-paths ${{github.workspace}} -y - name: Configure CMake run: | diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index cfad708574..99e79ccd74 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-22.04, ubuntu-20.04] steps: - name: Install dependencies