Skip to content

Commit

Permalink
Fix action (#38)
Browse files Browse the repository at this point in the history
* action update

* new action code

* simplify

* new

* only humble

* test

* undo
  • Loading branch information
rafal-gorecki committed Jan 4, 2024
1 parent 4f1bc6f commit d57d797
Showing 1 changed file with 5 additions and 29 deletions.
34 changes: 5 additions & 29 deletions .github/workflows/colcon_test_build.yaml
Original file line number Diff line number Diff line change
@@ -1,48 +1,24 @@
name: ROS2 test build

on:
push:
branches:
- 'ros2'

jobs:
colcon-test-build-ubuntu-20-04:
strategy:
matrix:
build-type: [ignition-gazebo, gazebo-classic]
ros-distro: [foxy, galactic]
env:
GAZEBO_VERSION: ${{ matrix.build-type }}

runs-on: ubuntu-20.04
- push

name: ${{ matrix.ros-distro }}
steps:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros-distro }}
- uses: ros-tooling/[email protected]
with:
package-name: ros_components_description
target-ros2-distro: ${{ matrix.ros-distro }}

jobs:
colcon-test-build-ubuntu-22-04:
strategy:
matrix:
build-type: [ignition-gazebo, gazebo-classic]
ros-distro: [humble]

env:
GAZEBO_VERSION: ${{ matrix.build-type }}

runs-on: ubuntu-22.04

name: ${{ matrix.ros-distro }}
steps:
- uses: ros-tooling/setup-ros@v0.3
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros-distro }}
- uses: ros-tooling/action-ros-ci@v0.2
- uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: ros_components_description
target-ros2-distro: ${{ matrix.ros-distro }}
target-ros2-distro: ${{ matrix.ros-distro }}

0 comments on commit d57d797

Please sign in to comment.