Unverified Commit 9c2e648e authored by Simon Thomas's avatar Simon Thomas
Browse files

Testing a new job for CI

parent 39763088
......@@ -30,3 +30,32 @@ jobs:
run: |
cd ~/catkin_ws/src
catkin build ping360_sonar --catkin-make-args roslint
build:
runs-on: ubuntu-16.04
container: ros:kinetic-ros-base
steps:
- uses: actions/checkout@v1
- name: Install catkin & package dependencies
run: |
cd / && ./ros_entrypoint.sh
apt-get update
apt-get install -y python-pip
apt-get install -y ros-kinetic-catkin python-catkin-tools
apt-get install -y ros-kinetic-cv-bridge
apt-get install -y ros-kinetic-roslint
pip install bluerobotics-ping
- name: Setup catkin workspace
run: |
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
/bin/bash -c "source /opt/ros/kinetic/setup.bash && catkin build"
- name: Build package
run: |
cd ~/catkin_ws/src
cp -r $GITHUB_WORKSPACE .
/bin/bash -c "source ../devel/setup.bash && catkin build"
- name: Lint
run: |
cd ~/catkin_ws/src
catkin build ping360_sonar --catkin-make-args roslint
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment