name: CI RCLC

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  schedule:
    # Run once per day to detect broken dependencies.
    - cron: '33 6 * * *'

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        # os: [ ubuntu-20.04, windows-latest, macOS-latest ]
        os: [ ubuntu-20.04 ]
        ros_distribution: [ foxy, rolling, dashing ]
        include:
          - docker_image: ubuntu:bionic
            ros_distribution: dashing

          - docker_image: ubuntu:focal
            ros_distribution: foxy

          - docker_image: ubuntu:focal
            ros_distribution: rolling
    container:
      image: ${{ matrix.docker_image }}
    steps:
    - uses: actions/checkout@v2
    - uses: ros-tooling/setup-ros@0.0.26
      with:
        required-ros-distributions: ${{ matrix.ros_distribution }}
    - name : Download and install rclc-dependencies
      run: |
        apt-get install ros-${{ matrix.ros_distribution }}-osrf-testing-tools-cpp
        apt-get install ros-${{ matrix.ros_distribution }}-test-msgs

    - uses : ros-tooling/action-ros-ci@0.1.0
      with:
        package-name: "rclc rclc_examples rclc_lifecycle"
        vcs-repo-file-url: ""
        target-ros2-distro: ${{ matrix.ros_distribution }}
name: CI RCLC

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  schedule:
    # Run once per day to detect broken dependencies.
    - cron: '33 6 * * *'

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        # os: [ ubuntu-20.04, windows-latest, macOS-latest ]
        os: [ ubuntu-20.04 ]
        ros_distribution: [ foxy, rolling, dashing ]
        include:
          - docker_image: ubuntu:bionic
            ros_distribution: dashing

          - docker_image: ubuntu:focal
            ros_distribution: foxy

          - docker_image: ubuntu:focal
            ros_distribution: rolling
    container:
      image: ${{ matrix.docker_image }}
    steps:
    - uses: actions/checkout@v2
    - uses: ros-tooling/setup-ros@0.1.2
      with:
        required-ros-distributions: ${{ matrix.ros_distribution }}
    - name : Download and install rclc-dependencies
      run: |
        apt-get install ros-${{ matrix.ros_distribution }}-osrf-testing-tools-cpp
        apt-get install ros-${{ matrix.ros_distribution }}-test-msgs

    - uses : ros-tooling/action-ros-ci@0.1.0
      with:
        package-name: "rclc rclc_examples rclc_lifecycle"
        vcs-repo-file-url: ""
        target-ros2-distro: ${{ matrix.ros_distribution }}
Upgrade version of setup_ros action
Upgrade version of setup_ros action

Signed-off-by: Nordmann Arne (CR/ADT3) <5d1079c5653149442411893582a7c7e9a5c68bb2@de.bosch.com>
