Skip to content
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
24 changes: 24 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: C/C++ CI

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
-
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-16.04

steps:
- uses: actions/checkout@v2
- name: install_ros_and_env
run: sudo sh ./ros_and_workspace_setup.sh
- name: catkin_make
run: catkin_make
8 changes: 4 additions & 4 deletions ros_and_workspace_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# MAIN VARS TO CHANGE
#
ARENA_INSTALLATION_ROOT="$HOME/ArenaSDK_Linux_x64"
ARENA_ROS_WORDSPACE_TO_SETUP="$HOME/arena_camera_ros/catkin_ws" #change to workspace location
INSTALL_ROS=0
ARENA_ROS_WORDSPACE_TO_SETUP=``pwd`` #change to workspace location
INSTALL_ROS=1



Expand All @@ -31,7 +31,7 @@ if [ $CURR_OS = "xenial" ]; then
ROS_DIS="kinetic"
else
echo "$CURR_OS is not saupported yet"
exit(-1)
exit -1
fi

############################################################
Expand Down Expand Up @@ -102,4 +102,4 @@ sudo cp -f \
/opt/ros/$ROS_DIS/include/sensor_msgs/image_encodings.h.bak
sudo cp -f \
$ARENA_ROS_WORDSPACE_TO_SETUP/inc/image_encodings.h \
/opt/ros/$ROS_DIS/include/sensor_msgs/image_encodings.h
/opt/ros/$ROS_DIS/include/sensor_msgs/image_encodings.h