-
Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathwercker.yml
32 lines (31 loc) · 904 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
box: osrf/ros:lunar-desktop-full
build:
steps:
- script:
name: initialize git submodules
code: |
git submodule update --init --recursive
- script:
name: init workspace
code: |
cd ..
mkdir -p catkin_ws/src
cp -a source catkin_ws/src/
cd catkin_ws/src
git clone https://github.com/catkin/catkin_simple.git
- script:
name: install dependencies
code: |
cd ../catkin_ws/src
sudo apt-get update
rosdep update
rosdep install --from-paths . --ignore-src -y -r --as-root apt:false
sudo apt install -y libsdl1.2-dev libsdl-image1.2-dev
- script:
name: build
code: |
cd ../catkin_ws/src
catkin_init_workspace
cd ..
export ROS_PARALLEL_JOBS='-j4 -l4' # Limit parallel jobs
catkin_make_isolated -DCMAKE_BUILD_TYPE=Release