forked from bfgroup/Lyra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
175 lines (163 loc) · 8.7 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright 2019-2022 René Ferdinand Rivera Morell.
# Copyright 2020 Jayesh Vinay Badwaik
trigger:
branches:
include:
- develop
- release
- feature/*
- pr/*
- issue/*
paths:
exclude:
- .circleci/*
- .drone.star
- .github/workflows/*
- .semaphore/*
- .travis.yml
- appveyor.yml
pr:
branches:
include:
- develop
resources:
containers:
- { container: linux_gcc13, image: 'teeks99/gcc-ubuntu:13_20221020_1227', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc12, image: 'teeks99/gcc-ubuntu:12_20221001_1312', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc11, image: 'teeks99/gcc-ubuntu:11', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc10, image: 'teeks99/gcc-ubuntu:10', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc9, image: 'teeks99/gcc-ubuntu:9', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc8, image: 'teeks99/gcc-ubuntu:8', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc7, image: 'teeks99/gcc-ubuntu:7', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc6, image: 'teeks99/gcc-ubuntu:6', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_gcc5, image: 'teeks99/gcc-ubuntu:5', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang16, image: 'teeks99/clang-ubuntu:16_20221004_0023', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang15, image: 'teeks99/clang-ubuntu:15', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang14, image: 'teeks99/clang-ubuntu:14', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang13, image: 'teeks99/clang-ubuntu:13', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang12, image: 'teeks99/clang-ubuntu:12', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang11, image: 'teeks99/clang-ubuntu:11', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang10, image: 'teeks99/clang-ubuntu:10', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang9, image: 'teeks99/clang-ubuntu:9', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang8, image: 'teeks99/clang-ubuntu:8', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang7, image: 'teeks99/clang-ubuntu:7', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang6, image: 'teeks99/clang-ubuntu:6', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang5, image: 'teeks99/clang-ubuntu:5', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang4, image: 'teeks99/clang-ubuntu:4', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
- { container: linux_clang3, image: 'teeks99/clang-ubuntu:3.9', options: '--name container -v /usr/bin/docker:/tmp/docker:ro' }
stages:
- stage: No_Warn
jobs:
- job: 'Linux'
strategy:
matrix:
GCC 13 Warn-All: {
CXX: g++-13, CONTAINER: linux_gcc13,
TOOLSET: gcc, CXXSTD: "11,14,17,20",
B2_ARGS: 'warnings=extra warnings-as-errors=on cxxflags=-Woverloaded-virtual cxxflags=-Wshadow' }
Clang 16 Warn-All: {
CXX: clang++-16, CONTAINER: linux_clang16,
TOOLSET: clang, CXXSTD: "11,14,17,20",
B2_ARGS: "warnings=extra warnings-as-errors=on" }
pool: { vmImage: 'ubuntu-20.04' }
container: $[ variables['CONTAINER'] ]
steps:
- template: .ci/azp-linux-docker-test.yml
- job: 'Xcode'
strategy:
matrix:
Xcode 14.1 Warn-All: {
CXX: clang++, VM_IMAGE: 'macOS-12', XCODE_VERSION: "14.1",
TOOLSET: clang, CXXSTD: "11,14,17,20", B2_ARGS: "warnings=extra warnings-as-errors=on" }
pool:
vmImage: $(VM_IMAGE)
steps:
- template: .ci/azp-xcode-test.yml
- job: 'Visual_Studio'
strategy:
matrix:
VS 2022 Warn-All: {
VSWHERE_VERSION: '[17.0,18.0)', CXX: cl.exe, B2_ARGS: "warnings=extra warnings-as-errors=on",
PLATFORM: x64, VM_IMAGE: 'windows-2022', TOOLSET: msvc, TOOLSET_VERSION: '14.3' }
pool:
vmImage: $(VM_IMAGE)
steps:
- template: .ci/azp-msvc-test.yml
- stage: Test
dependsOn: [No_Warn]
jobs:
- job: 'Linux'
strategy:
matrix:
GCC 13: { CXX: g++-13, CONTAINER: linux_gcc13, TOOLSET: gcc, CXXSTD: "11,14,17,20" }
GCC 12: { CXX: g++-12, CONTAINER: linux_gcc12, TOOLSET: gcc, CXXSTD: "11,14,17,20" }
GCC 11: { CXX: g++-11, CONTAINER: linux_gcc11, TOOLSET: gcc, CXXSTD: "11,14,17,20" }
GCC 10: { CXX: g++-10, CONTAINER: linux_gcc10, TOOLSET: gcc, CXXSTD: "11,14,17,2a" }
GCC 9: { CXX: g++-9, CONTAINER: linux_gcc9, TOOLSET: gcc, CXXSTD: "11,14,17,2a" }
GCC 8: { CXX: g++-8, CONTAINER: linux_gcc8, TOOLSET: gcc, CXXSTD: "11,14,17,2a" }
GCC 7: { CXX: g++-7, CONTAINER: linux_gcc7, TOOLSET: gcc, CXXSTD: "11,14,17" }
GCC 6: { CXX: g++-6, CONTAINER: linux_gcc6, TOOLSET: gcc, CXXSTD: "11,14,17" }
GCC 5: { CXX: g++-5, CONTAINER: linux_gcc5, TOOLSET: gcc, CXXSTD: "11,14" }
Clang 16: { CXX: clang++-16, CONTAINER: linux_clang16, TOOLSET: clang, CXXSTD: "11,14,17,20" }
Clang 15: { CXX: clang++-15, CONTAINER: linux_clang15, TOOLSET: clang, CXXSTD: "11,14,17,20" }
Clang 14: { CXX: clang++-14, CONTAINER: linux_clang14, TOOLSET: clang, CXXSTD: "11,14,17,20" }
Clang 13: { CXX: clang++-13, CONTAINER: linux_clang13, TOOLSET: clang, CXXSTD: "11,14,17,20" }
Clang 12: { CXX: clang++-12, CONTAINER: linux_clang12, TOOLSET: clang, CXXSTD: "11,14,17,2a" }
Clang 11: { CXX: clang++-11, CONTAINER: linux_clang11, TOOLSET: clang, CXXSTD: "11,14,17,2a" }
Clang 10: { CXX: clang++-10, CONTAINER: linux_clang10, TOOLSET: clang, CXXSTD: "11,14,17,2a" }
Clang 9: { CXX: clang++-9, CONTAINER: linux_clang9, TOOLSET: clang, CXXSTD: "11,14,17,2a" }
Clang 8: { CXX: clang++-8, CONTAINER: linux_clang8, TOOLSET: clang, CXXSTD: "11,14,17" }
Clang 7: { CXX: clang++-7, CONTAINER: linux_clang7, TOOLSET: clang, CXXSTD: "11,14,17" }
Clang 6.0: { CXX: clang++-6.0, CONTAINER: linux_clang6, TOOLSET: clang, CXXSTD: "11,14,17" }
Clang 5.0: { CXX: clang++-5.0, CONTAINER: linux_clang5, TOOLSET: clang, CXXSTD: "11,14,17" }
Clang 4.0: { CXX: clang++-4.0, CONTAINER: linux_clang4, TOOLSET: clang, CXXSTD: "11,14" }
Clang 3.9: { CXX: clang++-3.9, CONTAINER: linux_clang3, TOOLSET: clang, CXXSTD: "11" }
pool: { vmImage: 'ubuntu-20.04' }
container: $[ variables['CONTAINER'] ]
steps:
- template: .ci/azp-linux-docker-test.yml
- job: 'Xcode'
strategy:
matrix:
Xcode 14.1: {
CXX: clang++, VM_IMAGE: 'macOS-12', XCODE_VERSION: "14.1",
TOOLSET: clang, CXXSTD: "11,14,17,20" }
Xcode 13.4.1: {
CXX: clang++, VM_IMAGE: 'macOS-12', XCODE_VERSION: "13.4.1",
TOOLSET: clang, CXXSTD: "11,14,17,20" }
Xcode 12.5.1: {
CXX: clang++, VM_IMAGE: 'macOS-11', XCODE_VERSION: "12.5.1",
TOOLSET: clang, CXXSTD: "11,14,17,2a" }
Xcode 11.7: {
CXX: clang++, VM_IMAGE: 'macOS-11', XCODE_VERSION: "11.7",
TOOLSET: clang, CXXSTD: "11,14,17,2a" }
pool:
vmImage: $(VM_IMAGE)
steps:
- template: .ci/azp-xcode-test.yml
- job: 'Visual_Studio'
strategy:
matrix:
VS 2022: {
VSWHERE_VERSION: '[17.0,18.0)', CXX: cl.exe,
PLATFORM: x64, VM_IMAGE: 'windows-2022', TOOLSET: msvc, TOOLSET_VERSION: '14.3' }
VS 2019: {
VSWHERE_VERSION: '[16.0,17.0)', CXX: cl.exe,
PLATFORM: x64, VM_IMAGE: 'windows-2019', TOOLSET: msvc, TOOLSET_VERSION: '14.2' }
pool:
vmImage: $(VM_IMAGE)
steps:
- template: .ci/azp-msvc-test.yml
- job: 'MinGW'
strategy:
matrix:
MinGW 12.2.0: { MINGW_VERSION: '12.2.0', MINGW_RT: 'rt_v10-rev0', CXXSTD: "11,14,17,20" }
MinGW 11.2.0: { MINGW_VERSION: '11.2.0', MINGW_RT: 'rt_v9-rev1', CXXSTD: "11,14,17,20" }
pool:
vmImage: 'windows-latest'
steps:
- template: .ci/azp-mingw-test.yml