Skip to content

Commit 7efc137

Browse files
committed
Add CI test variant for zero warnings.
1 parent 6d5ef0a commit 7efc137

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

azure-pipelines.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ stages:
2323
- job: 'Linux'
2424
strategy:
2525
matrix:
26+
GCC 9 Warn-All:
27+
TOOLSET: gcc
28+
CXX: g++-9
29+
PACKAGES: g++-9
30+
CXXSTD: 11,14,17,2a
31+
B2_ARGS: warnings=all warnings-as-errors=on
32+
VM_IMAGE: 'ubuntu-18.04'
33+
Clang 9 Warn-All:
34+
TOOLSET: clang
35+
CXX: clang++-9
36+
PACKAGES: clang-9
37+
LLVM_REPO: llvm-toolchain-xenial-9
38+
CXXSTD: 11,14,17,2a
39+
B2_ARGS: warnings=all warnings-as-errors=on
40+
VM_IMAGE: 'ubuntu-18.04'
2641
GCC 9:
2742
TOOLSET: gcc
2843
CXX: g++-9
@@ -166,7 +181,7 @@ stages:
166181
- bash: |
167182
set -e
168183
pushd tests
169-
b2 toolset=${TOOLSET} cxxstd=${CXXSTD} -j2
184+
b2 toolset=${TOOLSET} cxxstd=${CXXSTD} ${B2_ARGS} -j2
170185
popd
171186
displayName: Test
172187

0 commit comments

Comments
 (0)