-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
25 lines (25 loc) · 1.57 KB
/
bitbucket-pipelines.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
pipelines:
default:
- parallel:
- step:
name: melodic
image: osrf/ros:melodic-desktop-full
script:
- mkdir -p /tmp/src/repo && mv `pwd`/* /tmp/src/repo && mv /tmp/src `pwd` # Move everything into the src directory
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- apt update && rosdep install --from-paths src --ignore-src -y # Install dependencies missing from the docker image
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args tests
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args run_tests -j1
- catkin_test_results build_isolated
- step:
name: noetic
image: osrf/ros:noetic-desktop-full
script:
- mkdir -p /tmp/src/repo && mv `pwd`/* /tmp/src/repo && mv /tmp/src `pwd` # Move everything into the src directory
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- apt update && rosdep install --from-paths src --ignore-src -y # Install dependencies missing from the docker image
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args tests
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args run_tests -j1
- catkin_test_results build_isolated