-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create main.yml * Update main.yml adds rosdep pull * Update main.yml * updates * updates * updates * updates * updates * missing definition * missing definition
- Loading branch information
1 parent
77b0086
commit f6d4517
Showing
5 changed files
with
32 additions
and
25 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: ROS melodic CI | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
container: ros:melodic-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-melodic-catkin python-catkin-tools | ||
apt-get install -y ros-melodic-roslint | ||
- name: Setup catkin workspace | ||
run: | | ||
mkdir -p ~/catkin_ws/src | ||
cd ~/catkin_ws | ||
rosdep update | ||
cd ~/catkin_ws/src | ||
cp -r $GITHUB_WORKSPACE . | ||
cd ~/catkin_ws | ||
rosdep install --from-paths src --ignore-src -r -y | ||
- name: Build package | ||
run: | | ||
cd ~/catkin_ws | ||
/bin/bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && catkin build" | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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