forked from ros-drivers/joystick_drivers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update master to target Noetic (ros-drivers#173)
* Updating CircleCI config to build for noetic on master. * Updating CirlceCI config to build Noetic. * Minor updates for Noetic build. * Missed a source.
- Loading branch information
Joshua Whitley
authored
Jun 2, 2020
1 parent
1153e2f
commit 8d6cdd6
Showing
3 changed files
with
10 additions
and
45 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,37 @@ | ||
version: 2 | ||
jobs: | ||
kinetic: | ||
noetic: | ||
docker: | ||
- image: ros:kinetic-ros-base | ||
- image: ros:noetic-ros-base | ||
steps: | ||
- checkout | ||
- run: | ||
name: Set Up Container | ||
command: | | ||
apt-get update -qq && apt-get install -y python-catkin-tools | ||
source `find /opt/ros -name setup.bash | sort | head -1` | ||
mkdir temp_$CIRCLE_PROJECT_REPONAME | ||
mv `find -maxdepth 1 -not -name . -not -name temp_$CIRCLE_PROJECT_REPONAME` temp_$CIRCLE_PROJECT_REPONAME/ | ||
mv temp_$CIRCLE_PROJECT_REPONAME/ $CIRCLE_PROJECT_REPONAME/ | ||
apt-get update -qq | ||
rosdep install --from-paths . --ignore-src -y | ||
cd .. | ||
catkin init | ||
catkin config --extend /opt/ros/$ROS_DISTRO | ||
catkin_init_workspace | ||
- run: | ||
name: Build | ||
command: | | ||
cd .. | ||
catkin build | ||
- run: | ||
name: Run Tests | ||
command: | | ||
source `find /opt/ros -name setup.bash | sort | head -1` | ||
cd .. | ||
catkin run_tests | ||
catkin_test_results | ||
working_directory: ~/src | ||
|
||
melodic: | ||
docker: | ||
- image: ros:melodic-ros-base | ||
steps: | ||
- checkout | ||
- run: | ||
name: Set Up Container | ||
command: | | ||
apt-get update -qq && apt-get install -y python-catkin-tools | ||
source `find /opt/ros -name setup.bash | sort | head -1` | ||
mkdir temp_$CIRCLE_PROJECT_REPONAME | ||
mv `find -maxdepth 1 -not -name . -not -name temp_$CIRCLE_PROJECT_REPONAME` temp_$CIRCLE_PROJECT_REPONAME/ | ||
mv temp_$CIRCLE_PROJECT_REPONAME/ $CIRCLE_PROJECT_REPONAME/ | ||
rosdep install --from-paths . --ignore-src -y | ||
cd .. | ||
catkin init | ||
catkin config --extend /opt/ros/$ROS_DISTRO | ||
- run: | ||
name: Build | ||
command: | | ||
cd .. | ||
catkin build | ||
catkin_make | ||
- run: | ||
name: Run Tests | ||
command: | | ||
source `find /opt/ros -name setup.bash | sort | head -1` | ||
cd .. | ||
catkin run_tests | ||
catkin_make test | ||
catkin_test_results | ||
working_directory: ~/src | ||
|
||
workflows: | ||
version: 2 | ||
ros_build: | ||
jobs: | ||
- kinetic | ||
- melodic | ||
- noetic |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(joystick_drivers) | ||
find_package(catkin REQUIRED) | ||
catkin_metapackage() |
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