File tree Expand file tree Collapse file tree 2 files changed +53
-34
lines changed Expand file tree Collapse file tree 2 files changed +53
-34
lines changed Original file line number Diff line number Diff line change
1
+ name : ROS2 CI
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - ' ros2'
7
+
8
+ jobs :
9
+ test_environment :
10
+ runs-on : [ubuntu-latest]
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ ros_distribution :
15
+ - foxy
16
+ - galactic
17
+ - rolling
18
+ include :
19
+ # Foxy Fitzroy (June 2020 - May 2023)
20
+ - docker_image : rostooling/setup-ros-docker:ubuntu-focal-ros-foxy-ros-base-latest
21
+ ros_distribution : foxy
22
+ ros_version : 2
23
+ # Galactic Geochelone (May 2021 - November 2022)
24
+ - docker_image : rostooling/setup-ros-docker:ubuntu-focal-ros-galactic-ros-base-latest
25
+ ros_distribution : galactic
26
+ ros_version : 2
27
+ # Rolling Ridley (June 2020 - Present)
28
+ - docker_image : rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest
29
+ ros_distribution : rolling
30
+ ros_version : 2
31
+ container :
32
+ image : ${{ matrix.docker_image }}
33
+ steps :
34
+ - name : Checkout
35
+ uses : actions/checkout@v2
36
+ with :
37
+ fetch-depth : 2
38
+
39
+ - name : Search packages in this repository
40
+ id : list_packages
41
+ run : |
42
+ echo ::set-output name=package_list::$(colcon list --names-only)
43
+ - name : Setup ROS environment
44
+ uses : ros-tooling/setup-ros@v0.2
45
+ with :
46
+ required-ros-distributions : ${{ matrix.ros_distribution }}
47
+
48
+ - name : build and test
49
+ uses : ros-tooling/action-ros-ci@v0.2
50
+ with :
51
+ package-name : ${{ steps.list_packages.outputs.package_list }}
52
+ target-ros2-distro : ${{ matrix.ros_distribution }}
53
+ vcs-repo-file-url : build_depends.repos
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments