Skip to content

Commit

Permalink
update wercker
Browse files Browse the repository at this point in the history
  • Loading branch information
sikang committed Feb 9, 2018
1 parent 3101631 commit 80e149c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

## Compilation
#### Prerequisite:
- `Boost`
- [`PCL`](http://pointclouds.org/)
- [`Eigen`](http://eigen.tuxfamily.org/index.php?title=Main_Page)

Expand Down
17 changes: 6 additions & 11 deletions wercker.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
box: osrf/ros:kinetic-desktop-full
box: ubuntu

build:
steps:
- script:
name: install dependencies
code: |
sudo apt-get update
rosdep update
rosdep install --from-paths . --ignore-src -y -r --as-root apt:false
sudo apt install libeigen3-dev libpcl-dev cmake
- script:
name: build
code: |
cd ..
mkdir -p catkin_ws/src
mv source catkin_ws/src/
cd catkin_ws/src
catkin_init_workspace
cd ..
export ROS_PARALLEL_JOBS='-j4 -l4' # Limit parallel jobs
catkin_make_isolated -DCMAKE_BUILD_TYPE=Release
mkdir build
cd build
cmake ..
make -j4

0 comments on commit 80e149c

Please sign in to comment.