]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/azure-pipelines.yml
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / azure-pipelines.yml
1 # Use, modification, and distribution are
2 # subject to the Boost Software License, Version 1.0. (See accompanying
3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4 #
5 # Copyright Rene Ferdinand Rivera Morell 2015-2021.
6
7 trigger:
8 branches:
9 include:
10 - main
11 - release
12 - feature/*
13 paths:
14 exclude:
15 - .circleci/*
16 - .cirrus.yml
17 - .drone.star
18 - .github/workflows/*
19 - .semaphore/*
20 - .travis.yml
21 - appveyor.yml
22 pr:
23 branches:
24 include:
25 - main
26 paths:
27 exclude:
28 - appveyor.yml
29
30 variables:
31 - { name: linux_latest_vm, value: 'ubuntu-20.04' }
32 - { name: linux_latest_os, value: 'focal' }
33 - { name: windows_latest_vm, value: 'windows-2019' }
34 - { name: clang_latest, value: '13' }
35 - { name: gcc_latest, value: '11' }
36 - { name: vc_latest, value: 'vc142' }
37 - { name: vs_latest, value: '2019' }
38 - { name: xc_latest, value: '13.2.1' }
39 - { name: macos_latest_vm, value: 'macOS-11' }
40
41
42 stages:
43
44 - stage: Core
45 jobs:
46
47 - job: 'Linux_Default_Build'
48 strategy:
49 matrix:
50 Clang ${{variables.clang_latest}}: {TOOLSET: "clang-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: "${{variables.clang_latest}}", VM_IMAGE: "${{variables.linux_latest_vm}}"}
51 pool:
52 vmImage: $(VM_IMAGE)
53 steps:
54 - bash: |
55 set -e
56 uname -a
57 ./.ci/linux-cxx-install.sh
58 displayName: Install
59 - bash: |
60 set -e
61 ./src/engine/build.sh --verbose
62 displayName: Build
63
64 - job: 'Linux_Clang_Only_Build'
65 strategy:
66 matrix:
67 Clang ${{variables.clang_latest}}: {TOOLSET: "clang-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: "${{variables.clang_latest}}", VM_IMAGE: "${{variables.linux_latest_vm}}"}
68 pool:
69 vmImage: $(VM_IMAGE)
70 steps:
71 - bash: |
72 set -e
73 uname -a
74 ./.ci/linux-cxx-install.sh
75 sudo apt remove gcc g++
76 displayName: Install
77 - bash: |
78 set -e
79 ./src/engine/build.sh --verbose
80 displayName: Build
81
82 - job: 'Linux_Latest'
83 strategy:
84 matrix:
85 GCC ${{variables.gcc_latest}}: {TOOLSET: "gcc-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}", VM_IMAGE: "${{variables.linux_latest_vm}}"}
86 Clang ${{variables.clang_latest}}: {TOOLSET: "clang-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: 13, VM_IMAGE: "${{variables.linux_latest_vm}}"}
87 pool:
88 vmImage: $(VM_IMAGE)
89 steps:
90 - template: .ci/azp-linux-test.yml
91
92 - job: 'Windows_Latest'
93 strategy:
94 matrix:
95 VS ${{variables.vs_latest}}: {TOOLSET: "${{variables.vc_latest}}", TEST_TOOLSET: msvc, VM_IMAGE: "${{variables.windows_latest_vm}}"}
96 pool:
97 vmImage: $(VM_IMAGE)
98 steps:
99 - template: .ci/azp-windows-test.yml
100
101 - job: 'macOS'
102 strategy:
103 matrix:
104 Xcode ${{variables.xc_latest}}: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app", VM_IMAGE: "${{variables.macos_latest_vm}}"}
105 pool:
106 vmImage: $(VM_IMAGE)
107 steps:
108 - template: .ci/azp-macos-test.yml
109
110 - job: 'Linux_ASAN'
111 strategy:
112 matrix:
113 Clang ${{variables.clang_latest}}: {TOOLSET: "clang-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: 13, VM_IMAGE: "${{variables.linux_latest_vm}}"}
114 pool:
115 vmImage: $(VM_IMAGE)
116 continueOnError: 'true'
117 steps:
118 - template: .ci/azp-linux-asan-test.yml
119
120 - stage: Compilers
121 dependsOn: [Core]
122 jobs:
123
124 - job: 'Linux'
125 strategy:
126 matrix:
127 GCC 10: {TOOLSET: gcc-10, PACKAGES: g++-10, VM_IMAGE: 'ubuntu-20.04'}
128 GCC 9: {TOOLSET: gcc-9, PACKAGES: g++-9, VM_IMAGE: 'ubuntu-18.04'}
129 GCC 8: {TOOLSET: gcc-8, PACKAGES: g++-8, VM_IMAGE: 'ubuntu-18.04'}
130 GCC 7: {TOOLSET: gcc-7, PACKAGES: g++-7, VM_IMAGE: 'ubuntu-18.04'}
131 GCC 6: {TOOLSET: gcc-6, PACKAGES: g++-6, VM_IMAGE: 'ubuntu-18.04'}
132 GCC 5: {TOOLSET: gcc-5, PACKAGES: g++-5, VM_IMAGE: 'ubuntu-18.04'}
133 Clang 12: {TOOLSET: clang-12, PACKAGES: clang-12, LLVM_OS: focal, LLVM_VER: 12, VM_IMAGE: 'ubuntu-20.04'}
134 Clang 11: {TOOLSET: clang-11, PACKAGES: clang-11, LLVM_OS: focal, LLVM_VER: 11, VM_IMAGE: 'ubuntu-20.04'}
135 Clang 10: {TOOLSET: clang-10, PACKAGES: clang-10, LLVM_OS: bionic, LLVM_VER: 10, VM_IMAGE: 'ubuntu-18.04'}
136 Clang 9: {TOOLSET: clang-9, PACKAGES: clang-9, LLVM_OS: bionic, LLVM_VER: 9, VM_IMAGE: 'ubuntu-18.04'}
137 Clang 8: {TOOLSET: clang-8, PACKAGES: clang-8, LLVM_OS: bionic, LLVM_VER: 8, VM_IMAGE: 'ubuntu-18.04'}
138 Clang 7: {TOOLSET: clang-7, PACKAGES: clang-7, LLVM_OS: bionic, LLVM_VER: 7, VM_IMAGE: 'ubuntu-18.04'}
139 Clang 6: {TOOLSET: clang-6.0, PACKAGES: clang-6.0, LLVM_OS: bionic, LLVM_VER: 6.0, VM_IMAGE: 'ubuntu-18.04'}
140 Clang 5: {TOOLSET: clang-5.0, PACKAGES: clang-5.0, LLVM_OS: bionic, LLVM_VER: 5.0, VM_IMAGE: 'ubuntu-18.04'}
141 Clang 4: {TOOLSET: clang-4.0, PACKAGES: clang-4.0, LLVM_OS: xenial, LLVM_VER: 4.0, VM_IMAGE: 'ubuntu-18.04'}
142 pool:
143 vmImage: $(VM_IMAGE)
144 steps:
145 - template: .ci/azp-linux-test.yml
146
147 - job: 'Windows'
148 strategy:
149 matrix:
150 VS 2022: {TOOLSET: vc143, TEST_TOOLSET: msvc, VM_IMAGE: 'windows-2022'}
151 MinGW 8.1.0: {TOOLSET: mingw, TEST_TOOLSET: gcc, VM_IMAGE: 'windows-2019'}
152 pool:
153 vmImage: $(VM_IMAGE)
154 steps:
155 - template: .ci/azp-windows-test.yml
156
157 - job: 'macOS'
158 strategy:
159 matrix:
160 Xcode 13.1: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_13.1.app, VM_IMAGE: 'macOS-11'}
161 Xcode 13.0: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_13.0.app, VM_IMAGE: 'macOS-11'}
162 Xcode 12.4: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_12.4.app, VM_IMAGE: 'macOS-11'}
163 Xcode 12.3: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_12.3.app, VM_IMAGE: 'macOS-10.15'}
164 Xcode 12.2: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_12.2.app, VM_IMAGE: 'macOS-10.15'}
165 Xcode 12.1.1: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_12.1.1.app, VM_IMAGE: 'macOS-10.15'}
166 Xcode 12.0.1: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_12.0.1.app, VM_IMAGE: 'macOS-10.15'}
167 Xcode 11.7: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.7.app, VM_IMAGE: 'macOS-10.15'}
168 Xcode 11.6: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.6.app, VM_IMAGE: 'macOS-10.15'}
169 Xcode 11.5: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.5.app, VM_IMAGE: 'macOS-10.15'}
170 Xcode 11.4.1: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.4.1.app, VM_IMAGE: 'macOS-10.15'}
171 Xcode 11.3.1: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.3.1.app, VM_IMAGE: 'macOS-10.15'}
172 Xcode 11.3: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.3.app, VM_IMAGE: 'macOS-10.15'}
173 Xcode 11.2.1: {TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++, XCODE_APP: /Applications/Xcode_11.2.1.app, VM_IMAGE: 'macOS-10.15'}
174 pool:
175 vmImage: $(VM_IMAGE)
176 steps:
177 - template: .ci/azp-macos-test.yml
178
179 - stage: Boost_Dev
180 dependsOn: [Core]
181 jobs:
182
183 - job: 'Dev_Linux'
184 displayName: 'Dev Linux'
185 pool:
186 vmImage: 'ubuntu-latest'
187 strategy:
188 matrix:
189 Master .. GCC ${{variables.gcc_latest}}: {BOOST_BRANCH: master, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
190 Master .. Clang ${{variables.clang_latest}}: {BOOST_BRANCH: master, TOOLSET: clang, CXX: "clang++-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: "${{variables.clang_latest}}"}
191 Develop .. GCC ${{variables.gcc_latest}}: {BOOST_BRANCH: develop, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
192 Develop .. Clang ${{variables.clang_latest}}: {BOOST_BRANCH: develop, TOOLSET: clang, CXX: "clang++-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: "${{variables.clang_latest}}"}
193 steps:
194 - bash: |
195 set -e
196 uname -a
197 ./.ci/linux-cxx-install.sh
198 displayName: Install
199 - bash: |
200 set -e
201 cd src/engine
202 ./build.sh ${TOOLSET} --cxx=${CXX}
203 ./b2 -v
204 displayName: Build
205 - bash: |
206 set -e
207 pushd ${HOME}
208 git clone --recursive https://github.com/boostorg/boost.git
209 cd boost
210 git checkout ${BOOST_BRANCH}
211 CXX_PATH=`which ${CXX}`
212 echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
213 "${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
214 popd
215 displayName: Test
216
217 - job: 'Dev_macOS'
218 displayName: 'Dev macOS'
219 pool:
220 vmImage: "${{variables.macos_latest_vm}}"
221 strategy:
222 matrix:
223 Master .. Xcode ${{variables.xc_latest}}: {BOOST_BRANCH: master, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
224 Develop .. Xcode ${{variables.xc_latest}}: {BOOST_BRANCH: develop, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
225 steps:
226 - bash: |
227 set -e
228 uname -a
229 sudo xcode-select -switch ${XCODE_APP}
230 which clang++
231 displayName: Install
232 - bash: |
233 set -e
234 cd src/engine
235 ./build.sh ${TOOLSET} --cxx=${CXX}
236 ./b2 -v
237 displayName: Build
238 - bash: |
239 set -e
240 pushd ${HOME}
241 git clone --recursive https://github.com/boostorg/boost.git
242 cd boost
243 git checkout ${BOOST_BRANCH}
244 CXX_PATH=`which ${CXX}`
245 echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
246 "${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
247 popd
248 displayName: Test
249
250 - job: 'Dev_Windows'
251 displayName: 'Dev Windows'
252 pool:
253 vmImage: "${{variables.windows_latest_vm}}"
254 strategy:
255 matrix:
256 Master .. VS ${{variables.vs_latest}}: {BOOST_BRANCH: master, TOOLSET: "${{variables.vc_latest}}"}
257 Develop .. VS ${{variables.vs_latest}}: {BOOST_BRANCH: develop, TOOLSET: "${{variables.vc_latest}}"}
258 steps:
259 - powershell: |
260 cd src/engine
261 $env:path += ';' + ${env:CXX_PATH}
262 cmd /c build.bat ${env:TOOLSET}
263 ./b2.exe -v
264 cd ../..
265 displayName: Build
266 - powershell: |
267 $env:HOME = "$env:HOMEDRIVE" + "$env:HOMEPATH"
268 cd "${env:HOME}"
269 git clone --recursive https://github.com/boostorg/boost.git
270 cd boost
271 $OriginalErrorActionPreference = $ErrorActionPreference
272 $ErrorActionPreference= 'silentlycontinue'
273 git checkout "${env:BOOST_BRANCH}"
274 $ErrorActionPreference = $OriginalErrorActionPreference
275 echo "using" "msvc" ";" > "${env:HOME}/user-config.jam"
276 & "${env:BUILD_SOURCESDIRECTORY}\src\engine\b2.exe" "--boost-build=${env:BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=msvc install
277 displayName: Test
278
279 - stage: Boost_Release
280 dependsOn: [Boost_Dev]
281 jobs:
282
283 - job: 'Release_Linux'
284 displayName: 'Release Linux'
285 pool:
286 vmImage: 'ubuntu-latest'
287 strategy:
288 matrix:
289 1.78.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.78.0, BOOST_VERSION_U: 1_78_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
290 1.77.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.77.0, BOOST_VERSION_U: 1_77_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
291 1.76.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.76.0, BOOST_VERSION_U: 1_76_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
292 1.75.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.75.0, BOOST_VERSION_U: 1_75_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
293 1.74.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.74.0, BOOST_VERSION_U: 1_74_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
294 1.73.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.73.0, BOOST_VERSION_U: 1_73_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
295 1.72.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.72.0, BOOST_VERSION_U: 1_72_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
296 1.71.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.71.0, BOOST_VERSION_U: 1_71_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
297 1.70.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.70.0, BOOST_VERSION_U: 1_70_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
298 1.69.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.69.0, BOOST_VERSION_U: 1_69_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
299 1.68.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.68.0, BOOST_VERSION_U: 1_68_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
300 1.67.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.67.0, BOOST_VERSION_U: 1_67_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
301 1.66.0 .. GCC ${{variables.gcc_latest}}: {BOOST_VERSION: 1.66.0, BOOST_VERSION_U: 1_66_0, TOOLSET: gcc, CXX: "g++-${{variables.gcc_latest}}", PACKAGES: "g++-${{variables.gcc_latest}}"}
302 steps:
303 - bash: |
304 set -e
305 uname -a
306 ./.ci/linux-cxx-install.sh
307 displayName: Install
308 - bash: |
309 set -e
310 cd src/engine
311 ./build.sh ${TOOLSET} --cxx=${CXX}
312 ./b2 -v
313 displayName: Build
314 - bash: |
315 set -e
316 pushd ${HOME}
317 git clone -b boost-${BOOST_VERSION} --single-branch --recurse-submodules https://github.com/boostorg/boost.git boost_${BOOST_VERSION_U}
318 cd boost_${BOOST_VERSION_U}
319 CXX_PATH=`which ${CXX}`
320 echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
321 "${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
322 popd
323 displayName: Test
324
325 - job: 'Release_macOS'
326 displayName: 'Release macOS'
327 pool:
328 vmImage: "${{variables.macos_latest_vm}}"
329 strategy:
330 matrix:
331 1.77.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.77.0, BOOST_VERSION_U: 1_77_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
332 1.76.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.76.0, BOOST_VERSION_U: 1_76_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
333 1.75.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.75.0, BOOST_VERSION_U: 1_75_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
334 1.74.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.74.0, BOOST_VERSION_U: 1_74_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
335 1.73.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.73.0, BOOST_VERSION_U: 1_73_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
336 1.72.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.72.0, BOOST_VERSION_U: 1_72_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
337 1.71.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.71.0, BOOST_VERSION_U: 1_71_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
338 1.70.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.70.0, BOOST_VERSION_U: 1_70_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
339 1.69.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.69.0, BOOST_VERSION_U: 1_69_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
340 1.68.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.68.0, BOOST_VERSION_U: 1_68_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
341 1.67.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.67.0, BOOST_VERSION_U: 1_67_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
342 1.66.0 .. Xcode ${{variables.xc_latest}}: {BOOST_VERSION: 1.66.0, BOOST_VERSION_U: 1_66_0, TOOLSET: clang, CXX: clang++, XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app"}
343 steps:
344 - bash: |
345 set -e
346 uname -a
347 sudo xcode-select -switch ${XCODE_APP}
348 which clang++
349 displayName: Install
350 - bash: |
351 set -e
352 cd src/engine
353 ./build.sh ${TOOLSET} --cxx=${CXX}
354 ./b2 -v
355 displayName: Build
356 - bash: |
357 set -e
358 pushd ${HOME}
359 git clone -b boost-${BOOST_VERSION} --single-branch --recurse-submodules https://github.com/boostorg/boost.git boost_${BOOST_VERSION_U}
360 cd boost_${BOOST_VERSION_U}
361 CXX_PATH=`which ${CXX}`
362 echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
363 "${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
364 popd
365 displayName: Test
366
367 - job: 'Release_Windows'
368 displayName: 'Release Windows'
369 pool:
370 vmImage: "${{variables.windows_latest_vm}}"
371 strategy:
372 matrix:
373 1.77.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.77.0, BOOST_VERSION_U: 1_77_0, TOOLSET: "${{variables.vc_latest}}"}
374 1.76.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.76.0, BOOST_VERSION_U: 1_76_0, TOOLSET: "${{variables.vc_latest}}"}
375 1.75.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.75.0, BOOST_VERSION_U: 1_75_0, TOOLSET: "${{variables.vc_latest}}"}
376 1.74.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.74.0, BOOST_VERSION_U: 1_74_0, TOOLSET: "${{variables.vc_latest}}"}
377 1.73.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.73.0, BOOST_VERSION_U: 1_73_0, TOOLSET: "${{variables.vc_latest}}"}
378 1.72.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.72.0, BOOST_VERSION_U: 1_72_0, TOOLSET: "${{variables.vc_latest}}"}
379 1.71.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.71.0, BOOST_VERSION_U: 1_71_0, TOOLSET: "${{variables.vc_latest}}"}
380 1.70.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.70.0, BOOST_VERSION_U: 1_70_0, TOOLSET: "${{variables.vc_latest}}"}
381 1.69.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.69.0, BOOST_VERSION_U: 1_69_0, TOOLSET: "${{variables.vc_latest}}"}
382 1.68.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.68.0, BOOST_VERSION_U: 1_68_0, TOOLSET: "${{variables.vc_latest}}"}
383 1.67.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.67.0, BOOST_VERSION_U: 1_67_0, TOOLSET: "${{variables.vc_latest}}"}
384 1.66.0 .. VS ${{variables.vs_latest}}: {BOOST_VERSION: 1.66.0, BOOST_VERSION_U: 1_66_0, TOOLSET: "${{variables.vc_latest}}"}
385 steps:
386 - powershell: |
387 cd src/engine
388 $env:path += ';' + ${env:CXX_PATH}
389 cmd /c build.bat ${env:TOOLSET}
390 ./b2.exe -v
391 cd ../..
392 displayName: Build
393 - powershell: |
394 $env:HOME = "$env:HOMEDRIVE" + "$env:HOMEPATH"
395 cd "${env:HOME}"
396 git clone -b boost-${env:BOOST_VERSION} --single-branch --recurse-submodules https://github.com/boostorg/boost.git boost_${env:BOOST_VERSION_U}
397 cd "boost_${env:BOOST_VERSION_U}"
398 echo "using" "msvc" ";" > "${env:HOME}/user-config.jam"
399 & "${env:BUILD_SOURCESDIRECTORY}\src\engine\b2.exe" "--boost-build=${env:BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=msvc install
400 displayName: Test
401
402 - stage: Website_Update
403 dependsOn: [Core]
404 displayName: 'Website Update'
405 condition: in(variables['Build.SourceBranch'], 'refs/heads/main', 'refs/heads/release')
406 jobs:
407
408 - job: Documentation
409 pool:
410 vmImage: 'ubuntu-latest'
411 steps:
412 - task: UsePythonVersion@0
413 inputs:
414 versionSpec: '3.x'
415 - task: UseRubyVersion@0
416 - bash: |
417 pip install --user Pygments
418 pip install --user "https://github.com/bfgroup/jam_pygments/archive/master.zip"
419 gem install asciidoctor
420 gem install pygments.rb
421 echo "using asciidoctor ;" >> project-config.jam
422 ./bootstrap.sh
423 pushd doc
424 ../b2 --website-doc-dir=manual/$(Build.SourceBranchName) website
425 displayName: 'Build & Publish'
426 env:
427 GH_TOKEN: $(GitHubToken)