diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83bb8991..27aa55bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,6 +59,19 @@ jobs: - name: build and test uses: ros-tooling/action-ros-ci@v0.3 + if: ${{ matrix.distribution == 'ubuntu' }} with: package-name: camera_ros target-ros2-distro: ${{ matrix.ros }} + + - name: build and test (almalinux) + if: ${{ matrix.distribution == 'almalinux' }} + run: | + rosdep update + mkdir -p ~/camera_ws/src + cd ~/camera_ws/src + git clone ${{ github.repository }} -b ${{ github.ref }} + cd ~/camera_ws + rosdep install --from-paths src --ignore-src -y --rosdistro humble + . /opt/ros/humble/setup.bash + colcon build