File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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: 'humble', container: 'ros:humble'}
19+ container : ${{ matrix.config.container }}
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ path : src/grid_map
24+ - name : Install Dependencies with Rosdep
25+ run : |
26+ apt update
27+ rosdep update
28+ source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
29+ rosdep install --from-paths src --ignore-src -y --skip-keys "slam_toolbox turtlebot3_gazebo gazebo_ros_pkgs"
30+ shell : bash
31+ - name : Colcon Build (Release)
32+ run : |
33+ source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
34+ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to grid_map
35+ shell : bash
36+ - name : Test
37+ run : |
38+ source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
39+ source install/setup.bash
40+ colcon test --return-code-on-test-failure --paths src/grid_map/* --event-handlers=console_cohesion+
41+ colcon test-result --all --verbose
42+ shell : bash
43+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments