Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Maint/add git action pipelines #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
9 changes: 9 additions & 0 deletions .github/issue-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
branches:
- label: enhancement
prefix: feature/
- label: bug
prefix: bugfix/
- label: documentation
prefix: docs/
- label: maintenance
prefix: maint/
14 changes: 14 additions & 0 deletions .github/workflows/create_issue_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
issues:
types: [assigned]
issue_comment:
types: [created]

jobs:
create_issue_branch_job:
runs-on: ubuntu-latest
steps:
- name: create issue branch
uses: robvanderleek/create-issue-branch@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)

name: build

on: [push, pull_request] # on all pushes and PRs

jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: kinetic, ROS_REPO: main, CATKIN_LINT: true}
- {ROS_DISTRO: kinetic, ROS_REPO: main, PRERELEASE: true}
- {ROS_DISTRO: melodic, ROS_REPO: main, CATKIN_LINT: true}
- {ROS_DISTRO: melodic, ROS_REPO: main, PRERELEASE: true}
env:
CCACHE_DIR: /github/home/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .uuv_ci_config/install_gazebo9.sh

This file was deleted.

17 changes: 0 additions & 17 deletions .uuv_ci_config/ros_kinetic.sh

This file was deleted.

17 changes: 0 additions & 17 deletions .uuv_ci_config/ros_lunar.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .uuv_ci_config/ros_melodic.sh

This file was deleted.

21 changes: 0 additions & 21 deletions .uuv_ci_config/run_tests.sh

This file was deleted.

20 changes: 0 additions & 20 deletions .uuv_ci_config/uuv_dependencies.sh

This file was deleted.

3 changes: 2 additions & 1 deletion uuv_cpc_sensor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ add_compile_options(-std=c++11)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED
find_package(catkin REQUIRED COMPONENTS
std_msgs
nav_msgs
sensor_msgs
Expand All @@ -23,6 +23,7 @@ catkin_package(
INCLUDE_DIRS include
LIBRARIES uuv_cpc_ros_sensor
CATKIN_DEPENDS
roscpp
sensor_msgs
std_msgs
nav_msgs
Expand Down
7 changes: 3 additions & 4 deletions uuv_cpc_sensor/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@

<license>Apache-2.0</license>

<build_depend>roscpp</build_depend>
<build_depend>geographiclib</build_depend>
<build_depend>tf2_ros</build_depend>

<depend>roscpp</depend>
<depend>geographiclib</depend>
<depend>tf2_ros</depend>
<depend>sensor_msgs</depend>
<depend>std_msgs</depend>
<depend>nav_msgs</depend>
Expand Down