forked from boostorg/gil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
71 lines (67 loc) · 2.35 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Azure Pipelines for Boost.GIL
#
# Copyright 2018-2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
variables:
#system.debug: true
configuration: release
trigger:
- master
- develop
- azure-pipelines
- ml/*
jobs:
- job: 'ubuntu1804_gcc6_cxx14_cmake'
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: .ci/azure-pipelines/steps-install-gcc.yml
parameters:
major_version: '6'
- script: which g++ && g++ --version
displayName: 'Check GCC'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- script: |
sudo -E apt-get update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install libpng-dev libjpeg-dev libtiff5-dev libraw-dev
displayName: 'Install dependencies'
- template: .ci/azure-pipelines/steps-install-boost.yml
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
cxxver: '14'
- job: 'ubuntu1804_gcc8_cxx14_cmake'
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: .ci/azure-pipelines/steps-install-gcc.yml
parameters:
major_version: '8'
- script: which g++ && g++ --version
displayName: 'Check GCC'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- script: |
sudo -E apt-get update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install libpng-dev libjpeg-dev libtiff5-dev libraw-dev
displayName: 'Install dependencies'
- template: .ci/azure-pipelines/steps-install-boost.yml
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
cxxver: '14'
- job: 'macos1015_xcode11_cmake'
pool:
vmImage: 'macOS-10.15'
steps:
- script: which clang++ && clang++ --version
displayName: 'Check clang'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- template: .ci/azure-pipelines/steps-install-conan.yml
parameters:
python: python3
- template: .ci/azure-pipelines/steps-install-boost.yml
parameters:
toolset: darwin
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
use_conan: 'ON'