Skip to content

Fix code style (again) #3

Fix code style (again)

Fix code style (again) #3

Workflow file for this run

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
<<<<<<< HEAD

Check failure on line 21 in .github/workflows/build_test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_test.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- name: Install Dependencies
working-directory:
=======
with:
path: src/grid_map_geo
- name: Install Dependencies with Rosdep
>>>>>>> f258d15 (Use rosdep to install dependencies in ROS workspaces)
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)
working-directory:
run: |
source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to grid_map_geo
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