Skip to content

Commit 1c6e774

Browse files
author
Stuart Alldritt
authored
Add a Linux Melodic pipeline (opencv#34)
* Add a Linux Melodic pipeline
1 parent b16b4f9 commit 1c6e774

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

azure-pipelines.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,44 @@ jobs:
6464
catkin_make --force-cmake
6565
displayName: Build ROS Driver Node
6666
67+
- job: LinuxMelodic
68+
displayName: Linux Melodic
69+
70+
pool:
71+
vmImage: 'ubuntu-16.04'
72+
73+
container:
74+
image: ros:melodic-perception-bionic
75+
options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
76+
77+
steps:
78+
- script: |
79+
/tmp/docker exec -t -u 0 ci-container \
80+
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
81+
displayName: Enable sudo
82+
83+
- checkout: self
84+
clean: "all"
85+
fetchDepth: 20
86+
lfs: false
87+
persistCredentials: true
88+
submodules: true
89+
path: catkin_ws/src/Azure_Kinect_ROS_Driver
90+
91+
# Download and install the Azure Kinect Sensor SDK
92+
- bash: |
93+
sudo apt-get -y install curl software-properties-common
94+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
95+
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
96+
sudo apt-get update
97+
echo libk4a1.1 libk4a1.1/accept-eula boolean true | sudo debconf-set-selections
98+
echo libk4a1.1 libk4a1.1/accepted-eula-hash string 0f5d5c5de396e4fee4c0753a21fee0c1ed726cf0316204edda484f08cb266d76 | sudo debconf-set-selections -u
99+
sudo apt-get -y install libk4a1.1-dev
100+
displayName: Install the Azure Kinect Sensor SDK
101+
102+
# Build the catkin workspace
103+
- bash: |
104+
source /opt/ros/melodic/setup.bash
105+
catkin_make --force-cmake
106+
displayName: Build ROS Driver Node
107+
workingDirectory: ../../

0 commit comments

Comments
 (0)