Skip to content

Commit

Permalink
Removed DOCKER_IMAGE argument
Browse files Browse the repository at this point in the history
Signed-off-by: CihatAltiparmak <[email protected]>
  • Loading branch information
CihatAltiparmak authored Aug 25, 2024
1 parent ccf3cab commit 01bcb09
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,23 @@ jobs:
# Rolling (source)
- ROS_DISTRO: rolling
BUILD_TYPE: source
DOCKER_IMAGE: ubuntu:noble
# Jazzy (binary)
- ROS_DISTRO: jazzy
BUILD_TYPE: binary
DOCKER_IMAGE: ubuntu:noble
# Iron (binary)
- ROS_DISTRO: iron
BUILD_TYPE: binary
DOCKER_IMAGE: ubuntu:jammy
env:
ROS2_REPOS_FILE_URL: 'https://raw.githubusercontent.com/ros2/ros2/${{ matrix.ROS_DISTRO }}/ros2.repos'
runs-on: ubuntu-latest
container:
image: ${{ matrix.DOCKER_IMAGE }}
image: ${{ matrix.BUILD_TYPE == 'binary' && format('ros:{0}-ros-base', matrix.ROS_DISTRO) || 'ubuntu:noble' }}
steps:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.BUILD_TYPE == 'binary' && matrix.ROS_DISTRO || ''}}
if: ${{ matrix.BUILD_TYPE == 'source' }}
- name: Install Coverage Tools
if: ${{ matrix.BUILD_TYPE == 'binary' }}
run: sudo apt update && sudo apt install -y python3-colcon-coveragepy-result python3-colcon-lcov-result
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/[email protected]
Expand Down

0 comments on commit 01bcb09

Please sign in to comment.