From b0feb0813c698bfa5b9a279715ae120641eaa5ba Mon Sep 17 00:00:00 2001 From: Marwan Taher Date: Wed, 10 Jun 2020 16:32:59 +0100 Subject: [PATCH 1/6] initial commit --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..41d9d7910 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +version: 2 +jobs: + debug_build_and_test: + docker: + - image: jwhitleywork/ros:foxy-ros-base-focal + 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 + - 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 --packages-select grid_map_core --parallel-workers 1 + colcon test-result --verbose +workflows: + version: 2 + ros_build: + jobs: + - debug_build_and_test \ No newline at end of file From 49c95fe8f66383f373fb1076b4141beeaadc8ae1 Mon Sep 17 00:00:00 2001 From: Marwan Taher Date: Wed, 10 Jun 2020 20:58:25 +0100 Subject: [PATCH 2/6] docker image changed Co-authored-by: Steve Macenski --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 41d9d7910..b0b45030c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2 jobs: debug_build_and_test: docker: - - image: jwhitleywork/ros:foxy-ros-base-focal + - image: ros:foxy steps: - checkout - run: @@ -29,4 +29,4 @@ workflows: version: 2 ros_build: jobs: - - debug_build_and_test \ No newline at end of file + - debug_build_and_test From 7d8ec65d09ffe65fe72530065eca69cf9f96d07e Mon Sep 17 00:00:00 2001 From: Marwan Taher Date: Wed, 10 Jun 2020 21:03:53 +0100 Subject: [PATCH 3/6] removed testing specific packages only --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b0b45030c..f377238db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: name: Run Tests command: | source `find /opt/ros -maxdepth 2 -name local_setup.bash | sort | head -1` - colcon test --packages-select grid_map_core --parallel-workers 1 + colcon test --parallel-workers 1 colcon test-result --verbose workflows: version: 2 From b89d500e0459282246de83652426b89d4c571134 Mon Sep 17 00:00:00 2001 From: Marwan Taher Date: Fri, 12 Jun 2020 19:11:51 +0100 Subject: [PATCH 4/6] added ros2 branch filter --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 41d9d7910..897eed6c4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,4 +29,7 @@ workflows: version: 2 ros_build: jobs: - - debug_build_and_test \ No newline at end of file + - debug_build_and_test + filters: + branches: + only: ros2 \ No newline at end of file From e33aacebce1c046ceef7c73223736ea942c9d948 Mon Sep 17 00:00:00 2001 From: Marwan Taher Date: Sat, 13 Jun 2020 18:07:14 +0100 Subject: [PATCH 5/6] fixed typo --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9790c4edd..c0fb825ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,7 +29,7 @@ workflows: version: 2 ros_build: jobs: - - debug_build_and_test + - debug_build_and_test: filters: branches: only: ros2 From a38d51d65211d48f9826c1f973204dcbf25f678e Mon Sep 17 00:00:00 2001 From: Marwan Taher Date: Mon, 15 Jun 2020 18:30:46 +0100 Subject: [PATCH 6/6] removed filter and remaned job --- .circleci/config.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0fb825ae..e0a3aab16 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2 jobs: - debug_build_and_test: + build_and_test: docker: - image: ros:foxy steps: @@ -29,7 +29,4 @@ workflows: version: 2 ros_build: jobs: - - debug_build_and_test: - filters: - branches: - only: ros2 + - build_and_test