File tree Expand file tree Collapse file tree 2 files changed +58
-10
lines changed Expand file tree Collapse file tree 2 files changed +58
-10
lines changed Original file line number Diff line number Diff line change 11name : Colcon Build Test
2-
3- on : [push, pull_request]
4-
2+ on :
3+ push :
4+ branches :
5+ - ' rolling'
6+ - ' iron'
7+ - ' humble'
8+ pull_request :
9+ branches :
10+ - ' *'
511jobs :
6- industrial_ci :
12+ build-test :
13+ runs-on : ubuntu-22.04
714 strategy :
15+ fail-fast : false
816 matrix :
9- env :
10- - {ROS_DISTRO: rolling, ROS_REPO: rolling}
11- runs-on : ubuntu-latest
17+ config :
18+ - {rosdistro: ' rolling', container: 'osrf/ros: rolling-desktop' }
19+ container : ${{ matrix.config.container }}
1220 steps :
13- - uses : actions/checkout@v4
14- - uses : ' ros-industrial/industrial_ci@master'
15- env : ${{matrix.env}}
21+ - uses : actions/checkout@v4
22+ with :
23+ path : src/grid_map
24+ - name : Pull in repos with vcs
25+ run : |
26+ apt-get update
27+ vcs import --shallow --skip-existing --input grid_map/tools/ros2_dependencies.repos
28+ shell : bash
29+ working-directory : src
30+ - name : Install Dependencies with Rosdep
31+ run : |
32+ apt update
33+ rosdep update
34+ source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
35+ rosdep install --from-paths src --ignore-src -y --skip-keys "slam_toolbox turtlebot3_gazebo gazebo_ros_pkgs"
36+ shell : bash
37+ - name : Colcon Build (Release)
38+ run : |
39+ source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
40+ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to grid_map
41+ shell : bash
42+ - name : Test
43+ run : |
44+ source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
45+ source install/setup.bash
46+ colcon test --return-code-on-test-failure --paths src/grid_map/* --event-handlers=console_cohesion+
47+ colcon test-result --all --verbose
48+ shell : bash
Original file line number Diff line number Diff line change 1+ name : Instustrial CI Colcon Build Test
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ industrial_ci :
7+ strategy :
8+ matrix :
9+ env :
10+ - {ROS_DISTRO: rolling, ROS_REPO: rolling}
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : ' ros-industrial/industrial_ci@master'
15+ env : ${{matrix.env}}
You can’t perform that action at this time.
0 commit comments