Add geo_map_msgs for custom messages (#62) (#65) #228
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Test | |
on: | |
push: | |
branches: | |
- 'ros2' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {rosdistro: 'humble', container: 'osrf/ros:humble-desktop'} | |
container: ${{ matrix.config.container }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: src/grid_map_geo | |
- name: Install Dependencies with Rosdep | |
run: | | |
apt update | |
rosdep update | |
source /opt/ros/${{matrix.config.rosdistro}}/setup.bash | |
rosdep install --from-paths src --ignore-src -y | |
shell: bash | |
- name: Colcon Build (Release) | |
run: | | |
source /opt/ros/${{matrix.config.rosdistro}}/setup.bash | |
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release | |
shell: bash | |
- name: Verify Export | |
run: | | |
source /opt/ros/${{matrix.config.rosdistro}}/setup.bash | |
source install/setup.bash | |
cd src/grid_map_geo/grid_map_geo/test/export | |
colcon build | |
./build/grid_map_export_test/main | |
shell: bash | |
# - name: unit_tests | |
# working-directory: | |
# run: | | |
# cd $HOME/catkin_ws/src | |
# catkin config --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCATKIN_ENABLE_TESTING=True | |
# catkin build grid_map_geo --no-deps -i --catkin-make-args tests | |
# source $HOME/catkin_ws/devel/setup.bash | |
# status=0 && for f in $HOME/catkin_ws/devel/lib/*/*-test; do $f || exit 1; done | |
# shell: bash |