forked from zivid/zivid-ros
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathazure-pipelines.yml
41 lines (41 loc) · 1.55 KB
/
azure-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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
schedules:
- cron: "10 22 * * *"
displayName: Master nightly build
branches:
include:
- master
always: true
variables:
newest_zivid_version: '1.8.0+89ae8b3e-39'
stages:
- stage: Code_Analysis
jobs:
- job: Code_Analysis
pool:
vmImage: ubuntu-16.04
steps:
- script: 'CI_TEST_OS=ros:melodic-ros-base-bionic ./continuous-integration/run_code_analysis_in_docker.sh'
- stage: Build_And_Test_Newest_Zivid_Melodic
jobs:
- template: continuous-integration/azure-pipelines/templates/build_and_test.yml
parameters:
zivid_versions: ["${{ variables['newest_zivid_version'] }}"]
ros_distros: ['ros:melodic-ros-base-bionic']
compilers: ['g++-7', 'g++-8', 'g++-9', 'clang++-7']
- stage: Build_And_Test_Newest_Zivid_Kinetic
jobs:
- template: continuous-integration/azure-pipelines/templates/build_and_test.yml
parameters:
zivid_versions: ["${{ variables['newest_zivid_version'] }}"]
ros_distros: ['ros:kinetic-ros-base-xenial']
compilers: ['g++-7']
#
# Currently only newest_zivid_version is supported. Azure Pipelines requires at least one job under
# jobs, so parameters.zivid_versions cannot be empty. Re-enable this when we support >0 old versions.
# - stage: Build_And_Test_Old_Zivid_Melodic_And_Kinetic
# jobs:
# - template: continuous-integration/azure-pipelines/templates/build_and_test.yml
# parameters:
# zivid_versions: []
# ros_distros: ['ros:melodic-ros-base-bionic', 'ros:kinetic-ros-base-xenial']
# compilers: ['g++-7']