File tree Expand file tree Collapse file tree 2 files changed +49
-46
lines changed Expand file tree Collapse file tree 2 files changed +49
-46
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Colcon Build Test
2+ on :
3+ push :
4+ branches :
5+ - ' rolling'
6+ - ' iron'
7+ - ' humble'
8+ pull_request :
9+ branches :
10+ - ' *'
11+ jobs :
12+ build-test :
13+ runs-on : ubuntu-22.04
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ config :
18+ - {rosdistro: 'iron', container: 'ros:iron'}
19+ container : ${{ matrix.config.container }}
20+ steps :
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
49+
You can’t perform that action at this time.
0 commit comments