Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2
jobs:
build_and_test:
docker:
- image: ros:foxy
steps:
- checkout
- run:
name: Set Up Container
command: |
apt update -qq && apt install -y build-essential cmake python3-colcon-common-extensions python3-rosdep libeigen3-dev
apt upgrade -y
source `find /opt/ros -maxdepth 2 -name local_setup.bash | sort | head -1`
mkdir -p src/grid_map && mv `find -maxdepth 1 -not -name . -not -name src` src/grid_map/
rosdep update
rosdep install -y --ignore-src --from-paths src
Comment thread
Marwan99 marked this conversation as resolved.
- run:
name: Debug Build
command: |
source `find /opt/ros -maxdepth 2 -name local_setup.bash | sort | head -1`
colcon build --parallel-workers 1
- run:
name: Run Tests
command: |
source `find /opt/ros -maxdepth 2 -name local_setup.bash | sort | head -1`
colcon test --parallel-workers 1
colcon test-result --verbose
workflows:
version: 2
ros_build:
jobs:
- build_and_test