Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding noetic build to CI. #71

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Show file tree
Hide file tree
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
36 changes: 34 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
apt-get update -qq
source `find /opt/ros -name setup.bash | sort | head -1`
mkdir pacmod_game_control && mv `find -maxdepth 1 -not -name . -not -name pacmod_game_control` pacmod_game_control/
git clone https://github.com/astuff/astuff_sensor_msgs astuff_sensor_msgs
rosdep install --from-paths . --ignore-src -y
cd ..
catkin init
Expand Down Expand Up @@ -45,7 +44,6 @@ jobs:
apt-get update -qq
source `find /opt/ros -name setup.bash | sort | head -1`
mkdir pacmod_game_control && mv `find -maxdepth 1 -not -name . -not -name pacmod_game_control` pacmod_game_control/
git clone https://github.com/astuff/astuff_sensor_msgs astuff_sensor_msgs
rosdep install --from-paths . --ignore-src -y
cd ..
catkin init
Expand All @@ -68,9 +66,43 @@ jobs:
catkin_test_results
working_directory: ~/src

noetic:
docker:
- image: autonomoustuff/docker-builds:noetic-ros-base
steps:
- checkout
- run:
name: Set Up Container
command: |
apt-get update -qq
source `find /opt/ros -name setup.bash | sort | head -1`
mkdir pacmod_game_control && mv `find -maxdepth 1 -not -name . -not -name pacmod_game_control` pacmod_game_control/
rosdep install --from-paths . --ignore-src -y
cd ..
catkin init
catkin config --extend /opt/ros/$ROS_DISTRO
- run:
name: Build
command: |
cd ..
catkin build
- run:
name: Lint
command: |
catkin build pacmod_game_control --no-deps --make-args roslint
- run:
name: Run Tests
command: |
source /opt/ros/noetic/setup.bash
cd ..
catkin run_tests pacmod_game_control --no-deps
catkin_test_results
working_directory: ~/src

workflows:
version: 2
ros_build:
jobs:
- kinetic
- melodic
- noetic
1 change: 1 addition & 0 deletions include/pacmod_game_control/publish_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "pacmod_game_control/globals.h"

#include <vector>
#include <unordered_map>

namespace AS
{
Expand Down
2 changes: 2 additions & 0 deletions include/pacmod_game_control/publish_control_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include "pacmod_game_control/publish_control_board_rev2.h"
#include "pacmod_game_control/publish_control_board_rev3.h"

#include <memory>

namespace AS
{
namespace Joystick
Expand Down
2 changes: 2 additions & 0 deletions src/pacmod_game_control_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "pacmod_game_control/globals.h"
#include "pacmod_game_control/startup_checks.h"

#include <memory>

using namespace AS::Joystick; // NOLINT

/*
Expand Down
2 changes: 2 additions & 0 deletions src/publish_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#include "pacmod_game_control/publish_control.h"

#include <unordered_map>

using namespace AS::Joystick; // NOLINT

JoyAxis PublishControl::steering_axis = LEFT_STICK_LR;
Expand Down
2 changes: 2 additions & 0 deletions src/publish_control_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#include "pacmod_game_control/publish_control_factory.h"

#include <memory>

using namespace AS::Joystick; // NOLINT

PublishControlFactory::PublishControlFactory()
Expand Down