diff --git a/.github/workflows/foxy.yaml b/.github/workflows/foxy.yaml new file mode 100644 index 0000000..5c445ae --- /dev/null +++ b/.github/workflows/foxy.yaml @@ -0,0 +1,45 @@ +name: foxy + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + foxy-devel-ci: + runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + ros_distribution: + - foxy + docker_image: + - ubuntu:focal + include: + - docker_image: ubuntu:focal + ros_distribution: foxy + ros_version: 2 + #container: + # image: ${{ matrix.docker_image }} + steps: + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.1 + with: + required-ros-distributions: ${{ matrix.ros_distribution }} + - name: Build and Test + uses: ros-tooling/action-ros-ci@0.3.5 + with: + package-name: natnet_ros2 + target-ros2-distro: ${{ matrix.ros_distribution }} + skip-tests: true + #- name: Setup directories + # run: mkdir -p ros_ws/src + #- name: checkout + # uses: actions/checkout@v3 + # with: + # path: ros_ws/src + + diff --git a/.github/workflows/humble.yaml b/.github/workflows/humble.yaml index 561403b..51158c4 100644 --- a/.github/workflows/humble.yaml +++ b/.github/workflows/humble.yaml @@ -1,4 +1,4 @@ -name: main +name: humble on: pull_request: diff --git a/.github/workflows/jazzy.yaml b/.github/workflows/jazzy.yaml new file mode 100644 index 0000000..dcf6556 --- /dev/null +++ b/.github/workflows/jazzy.yaml @@ -0,0 +1,45 @@ +name: jazzy + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + jazzy-devel-ci: + runs-on: ubuntu-24.04 + strategy: + fail-fast: false + matrix: + ros_distribution: + - jazzy + docker_image: + - ubuntu:nobel + include: + - docker_image: ubuntu:nobel + ros_distribution: jazzy + ros_version: 2 + #container: + # image: ${{ matrix.docker_image }} + steps: + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.1 + with: + required-ros-distributions: ${{ matrix.ros_distribution }} + - name: Build and Test + uses: ros-tooling/action-ros-ci@0.3.5 + with: + package-name: natnet_ros2 + target-ros2-distro: ${{ matrix.ros_distribution }} + skip-tests: true + #- name: Setup directories + # run: mkdir -p ros_ws/src + #- name: checkout + # uses: actions/checkout@v3 + # with: + # path: ros_ws/src + + diff --git a/README.md b/README.md index 43f1d44..e6fe0df 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ [![GitHub Action Status](https://github.com/L2S-lab/natnet_ros2/actions/workflows/humble.yaml/badge.svg?event=push)](https://github.com/L2S-lab/natnet_ros2) +[![GitHub Action Status](https://github.com/L2S-lab/natnet_ros2/actions/workflows/jazzy.yaml/badge.svg?event=push)](https://github.com/L2S-lab/natnet_ros2) + +[![GitHub Action Status](https://github.com/L2S-lab/natnet_ros2/actions/workflows/foxy.yaml/badge.svg?event=push)](https://github.com/L2S-lab/natnet_ros2) + ## Introduction